a linear per interval evolution
More...
#include </home/runner/work/tfel/tfel/mtest/include/MTest/Evolution.hxx>
a linear per interval evolution
◆ LPIEvolution()
| mtest::LPIEvolution::LPIEvolution |
( |
const std::vector< real > & | , |
|
|
const std::vector< real > & | ) |
constructor
- Parameters
-
| [in] | t | : times |
| [in] | v | : values |
◆ interpolate()
| real mtest::LPIEvolution::interpolate |
( |
const std::map< real, real > & | , |
|
|
const real | ) |
|
staticnodiscard |
- Returns
- the interpolation in a set of values
- Parameters
-
| [in] | values | values use to create the interpolation |
| [in] | t | absicssa |
◆ isConstant()
| bool mtest::LPIEvolution::isConstant |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ operator()()
| real mtest::LPIEvolution::operator() |
( |
const real | | ) |
const |
|
nodiscardoverridevirtual |
- Returns
- the value of the evolution at the given time
- Parameters
-
Implements mtest::Evolution.
◆ setValue() [1/2]
| void mtest::LPIEvolution::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::LPIEvolution::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: