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

#include <real_functions.h>

Inheritance diagram for Kratos::PowerFunction:
Collaboration diagram for Kratos::PowerFunction:

Public Member Functions

 PowerFunction (const double a, const double b, const double c)
 
 ~PowerFunction ()
 
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

◆ PowerFunction()

Kratos::PowerFunction::PowerFunction ( const double  a,
const double  b,
const double  c 
)
inline

◆ ~PowerFunction()

Kratos::PowerFunction::~PowerFunction ( )
inline

Member Function Documentation

◆ CalculateDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ CalculateSecondDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ Evaluate()

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

Reimplemented from Kratos::RealFunction.


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