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::ProductFunction Class Reference

#include <real_functions.h>

Inheritance diagram for Kratos::ProductFunction:
Collaboration diagram for Kratos::ProductFunction:

Public Member Functions

 ProductFunction (const double a, RealFunction &f, RealFunction &g)
 
 ~ProductFunction ()
 
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

◆ ProductFunction()

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

◆ ~ProductFunction()

Kratos::ProductFunction::~ProductFunction ( )
inline

Member Function Documentation

◆ CalculateDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ CalculateSecondDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ Evaluate()

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

Reimplemented from Kratos::RealFunction.


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