KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Member Functions | List of all members
Kratos::CompositionFunction Class Reference

#include <real_functions.h>

Inheritance diagram for Kratos::CompositionFunction:
Collaboration diagram for Kratos::CompositionFunction:

Public Member Functions

 CompositionFunction (const double a, RealFunction &f, RealFunction &g)
 
 ~CompositionFunction ()
 
double Evaluate (const double x) override
 
double CalculateDerivative (const double x) override
 
double CalculateSecondDerivative (const double x) override
 
- Public Member Functions inherited from Kratos::RealFunction
 KRATOS_CLASS_POINTER_DEFINITION (RealFunction)
 
 RealFunction (const double param1, const double param2)
 Default constructor. More...
 
virtual ~RealFunction ()
 Destructor. More...
 
virtual std::string Info () const
 Turn back information as a stemplate<class T, std::size_t dim> tring. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Additional Inherited Members

- Protected Attributes inherited from Kratos::RealFunction
double mA
 
double mB
 

Constructor & Destructor Documentation

◆ CompositionFunction()

Kratos::CompositionFunction::CompositionFunction ( const double  a,
RealFunction f,
RealFunction g 
)
inline

◆ ~CompositionFunction()

Kratos::CompositionFunction::~CompositionFunction ( )
inline

Member Function Documentation

◆ CalculateDerivative()

double Kratos::CompositionFunction::CalculateDerivative ( const double  x)
inlineoverridevirtual

Reimplemented from Kratos::RealFunction.

◆ CalculateSecondDerivative()

double Kratos::CompositionFunction::CalculateSecondDerivative ( const double  x)
inlineoverridevirtual

Reimplemented from Kratos::RealFunction.

◆ Evaluate()

double Kratos::CompositionFunction::Evaluate ( const double  x)
inlineoverridevirtual

Reimplemented from Kratos::RealFunction.


The documentation for this class was generated from the following file: