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

#include <real_functions.h>

Inheritance diagram for Kratos::LinearFunction:
Collaboration diagram for Kratos::LinearFunction:

Public Member Functions

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

◆ LinearFunction()

Kratos::LinearFunction::LinearFunction ( const double  a,
const double  b 
)
inline

◆ ~LinearFunction()

Kratos::LinearFunction::~LinearFunction ( )
inline

Member Function Documentation

◆ CalculateDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ CalculateSecondDerivative()

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

Reimplemented from Kratos::RealFunction.

◆ Evaluate()

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

Reimplemented from Kratos::RealFunction.


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