1 #ifndef KRATOS_REAL_FUNCTIONS_H
2 #define KRATOS_REAL_FUNCTIONS_H
79 virtual std::string
Info()
const
86 virtual void PrintInfo(std::ostream& rOStream)
const
92 virtual void PrintData(std::ostream& rOStream)
const
222 return mA * pow(
x,
mB) + mC;
227 return mA *
mB * pow(
x,
mB - 1.0);
232 return mA *
mB * (
mB - 1.0) * pow(
x,
mB - 2.0);
Definition: real_functions.h:244
AdditionFunction(const double a, RealFunction &f, RealFunction &g)
Definition: real_functions.h:247
double CalculateDerivative(const double x) override
Definition: real_functions.h:256
~AdditionFunction()
Definition: real_functions.h:249
double CalculateSecondDerivative(const double x) override
Definition: real_functions.h:261
double Evaluate(const double x) override
Definition: real_functions.h:251
Definition: real_functions.h:308
double CalculateSecondDerivative(const double x) override
Definition: real_functions.h:325
CompositionFunction(const double a, RealFunction &f, RealFunction &g)
Definition: real_functions.h:311
double CalculateDerivative(const double x) override
Definition: real_functions.h:320
double Evaluate(const double x) override
Definition: real_functions.h:315
~CompositionFunction()
Definition: real_functions.h:313
Definition: real_functions.h:185
double CalculateDerivative(const double x) override
Definition: real_functions.h:197
double CalculateSecondDerivative(const double x) override
Definition: real_functions.h:202
double Evaluate(const double x) override
Definition: real_functions.h:192
LinearFunction(const double a, const double b)
Definition: real_functions.h:188
~LinearFunction()
Definition: real_functions.h:190
Definition: real_functions.h:213
double Evaluate(const double x) override
Definition: real_functions.h:220
double CalculateDerivative(const double x) override
Definition: real_functions.h:225
PowerFunction(const double a, const double b, const double c)
Definition: real_functions.h:216
~PowerFunction()
Definition: real_functions.h:218
double CalculateSecondDerivative(const double x) override
Definition: real_functions.h:230
Definition: real_functions.h:276
double CalculateDerivative(const double x) override
Definition: real_functions.h:288
double Evaluate(const double x) override
Definition: real_functions.h:283
~ProductFunction()
Definition: real_functions.h:281
ProductFunction(const double a, RealFunction &f, RealFunction &g)
Definition: real_functions.h:279
double CalculateSecondDerivative(const double x) override
Definition: real_functions.h:293
Definition: real_functions.h:27
virtual ~RealFunction()
Destructor.
Definition: real_functions.h:38
KRATOS_CLASS_POINTER_DEFINITION(RealFunction)
virtual double CalculateDerivative(const double x)
Definition: real_functions.h:52
virtual double Evaluate(const double x)
Definition: real_functions.h:44
virtual double CalculateSecondDerivative(const double x)
Definition: real_functions.h:60
RealFunction(const double param1, const double param2)
Default constructor.
Definition: real_functions.h:34
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: real_functions.h:86
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: real_functions.h:92
virtual std::string Info() const
Turn back information as a stemplate<class T, std::size_t dim> tring.
Definition: real_functions.h:79
double mB
Definition: real_functions.h:107
double mA
Definition: real_functions.h:106
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
f
Definition: generate_convection_diffusion_explicit_element.py:112
a
Definition: generate_stokes_twofluid_element.py:77
b
Definition: generate_total_lagrangian_mixed_volumetric_strain_element.py:31
c
Definition: generate_weakly_compressible_navier_stokes_element.py:108
x
Definition: sensitivityMatrix.py:49