#include </home/runner/work/tfel/tfel/mtest/include/MTest/Evolution.hxx>
◆ ConstantEvolution()
| mtest::ConstantEvolution::ConstantEvolution |
( |
const real | | ) |
|
|
explicit |
constructor
- Parameters
-
| [in] | v | : value of the evolution |
◆ isConstant()
| bool mtest::ConstantEvolution::isConstant |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ operator()()
| real mtest::ConstantEvolution::operator() |
( |
const real | | ) |
const |
|
nodiscardoverridevirtual |
- Returns
- the value of the evolution at the given time
- Parameters
-
Implements mtest::Evolution.
◆ setValue() [1/2]
| void mtest::ConstantEvolution::setValue |
( |
const real | | ) |
|
|
overridevirtual |
set the evolution value
- Note
- most evolution will throw an exception (this method only makes sense for constant evolutions)
- Parameters
-
Implements mtest::Evolution.
◆ setValue() [2/2]
| void mtest::ConstantEvolution::setValue |
( |
const real | , |
|
|
const real | ) |
|
overridevirtual |
set the evolution value for a given date
- Parameters
-
- 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: