tfel
Loading...
Searching...
No Matches
mtest::Evolution Struct Referenceabstract

base class for evolutions of external variables More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/Evolution.hxx>

Inheritance diagram for mtest::Evolution:
mtest::CastemEvolution mtest::ConstantEvolution mtest::CyranoEvolution mtest::FunctionEvolution mtest::GenericEvolution mtest::LPIEvolution mtest::OxidationStatusEvolution

Public Member Functions

virtual real operator() (const real) const =0
virtual bool isConstant () const =0
virtual void setValue (const real)=0
 set the evolution value
virtual void setValue (const real, const real)=0
 set the evolution value for a given date
virtual ~Evolution ()
 destructor

Detailed Description

base class for evolutions of external variables

Member Function Documentation

◆ isConstant()

virtual bool mtest::Evolution::isConstant ( ) const
nodiscardpure virtual

◆ operator()()

virtual real mtest::Evolution::operator() ( const real ) const
nodiscardpure virtual

◆ setValue() [1/2]

virtual void mtest::Evolution::setValue ( const real )
pure virtual

set the evolution value

Note
most evolution will throw an exception (this method only makes sense for constant evolutions)
Parameters
[in]v: value

Implemented in mtest::CastemEvolution, mtest::ConstantEvolution, mtest::CyranoEvolution, mtest::FunctionEvolution, mtest::GenericEvolution, mtest::LPIEvolution, and mtest::OxidationStatusEvolution.

◆ setValue() [2/2]

virtual void mtest::Evolution::setValue ( const real ,
const real  )
pure virtual

set the evolution value for a given date

Parameters
[in]ttime
[in]vvalue
Note
most evolution will throw an exception (for example, this method does not makes sense for constant evolutions)

Implemented in mtest::CastemEvolution, mtest::ConstantEvolution, mtest::CyranoEvolution, mtest::FunctionEvolution, mtest::GenericEvolution, mtest::LPIEvolution, and mtest::OxidationStatusEvolution.


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