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

#include <real_functions.h>

Inheritance diagram for Kratos::RealFunction:
Collaboration diagram for Kratos::RealFunction:

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (RealFunction)
 
 RealFunction (const double param1, const double param2)
 Default constructor. More...
 
virtual ~RealFunction ()
 Destructor. More...
 
virtual double Evaluate (const double x)
 
virtual double CalculateDerivative (const double x)
 
virtual double CalculateSecondDerivative (const double x)
 
Input and output
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...
 

Protected Attributes

Protected static Member r_variables
double mA
 
double mB
 

Constructor & Destructor Documentation

◆ RealFunction()

Kratos::RealFunction::RealFunction ( const double  param1,
const double  param2 
)
inline

Default constructor.

◆ ~RealFunction()

virtual Kratos::RealFunction::~RealFunction ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ CalculateDerivative()

virtual double Kratos::RealFunction::CalculateDerivative ( const double  x)
inlinevirtual

◆ CalculateSecondDerivative()

virtual double Kratos::RealFunction::CalculateSecondDerivative ( const double  x)
inlinevirtual

◆ Evaluate()

virtual double Kratos::RealFunction::Evaluate ( const double  x)
inlinevirtual

◆ Info()

virtual std::string Kratos::RealFunction::Info ( ) const
inlinevirtual

Turn back information as a stemplate<class T, std::size_t dim> tring.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::RealFunction::KRATOS_CLASS_POINTER_DEFINITION ( RealFunction  )

◆ PrintData()

virtual void Kratos::RealFunction::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

virtual void Kratos::RealFunction::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

Member Data Documentation

◆ mA

double Kratos::RealFunction::mA
protected

◆ mB

double Kratos::RealFunction::mB
protected

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