tfel
Loading...
Searching...
No Matches
mtest::FunctionEvolution Struct Reference
Inheritance diagram for mtest::FunctionEvolution:
mtest::Evolution

Public Member Functions

 FunctionEvolution (const std::string &, const EvolutionManager &)
real operator() (const real) const override
bool isConstant () const override
void setValue (const real) override
 set the evolution value
void setValue (const real, const real) override
 set the evolution value for a given date
 ~FunctionEvolution () override
 destructor
Public Member Functions inherited from mtest::Evolution
virtual ~Evolution ()
 destructor

Constructor & Destructor Documentation

◆ FunctionEvolution()

mtest::FunctionEvolution::FunctionEvolution ( const std::string & ,
const EvolutionManager &  )

constructor

Parameters
[in]

Member Function Documentation

◆ isConstant()

bool mtest::FunctionEvolution::isConstant ( ) const
overridevirtual
Returns
true if the evolution is constant

Implements mtest::Evolution.

◆ operator()()

real mtest::FunctionEvolution::operator() ( const real ) const
overridevirtual
Returns
the value of the evolution at the given time
Parameters
[in]ttime

Implements mtest::Evolution.

◆ setValue() [1/2]

void mtest::FunctionEvolution::setValue ( const real )
overridevirtual

set the evolution value

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

Implements mtest::Evolution.

◆ setValue() [2/2]

void mtest::FunctionEvolution::setValue ( const real ,
const real  )
overridevirtual

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)

Implements mtest::Evolution.


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