|
tfel
|
a base class for a system of ordinary differential equations based on explicit methods of the Runge-Kutta family where the size of the solution is known at compile-time. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/RungeKutta/TinyRungeKuttaSolverBase.hxx>
Public Types | |
| using | SolutionType |
| the type of solution determined by the ordinary differential equation. | |
Public Member Functions | |
| void | setInitialValue (const SolutionType &y0) |
| set the initial values of the solution | |
| void | setInitialTime (const ScalarType t0) |
| set the initial time | |
| void | setFinalTime (const ScalarType t1) |
| set the final time | |
| void | setInitialTimeIncrement (const ScalarType time_increment) |
| set the initial time increment | |
| void | setCriterionValue (const ScalarType criterion_value) |
| set the value of the stopping criterion | |
| const SolutionType & | getValue () const |
| const ScalarType & | getTimeIncrement () const |
Protected Attributes | |
| SolutionType | y |
| current estimate of the solution | |
| ScalarType | ti |
| initial time | |
| ScalarType | tf |
| final time | |
| ScalarType | dt |
| current time increment | |
| ScalarType | epsilon |
| criterion value | |
a base class for a system of ordinary differential equations based on explicit methods of the Runge-Kutta family where the size of the solution is known at compile-time.
| N | size of the system of ordinary differential equations |
| ScalarType | scalar type |
| using tfel::math::TinyRungeKuttaSolverBase< N, ScalarType >::SolutionType |
the type of solution determined by the ordinary differential equation.
|
inline |
|
inline |
|
inline |
set the value of the stopping criterion
| [in] | criterion_value | new criterion value |
|
inline |
set the final time
| [in] | t1 | final time |
|
inline |
set the initial time
| [in] | t0 | initial time |
|
inline |
set the initial time increment
| [in] | time_increment |
|
inline |
set the initial values of the solution
| [in] | y0 | initial values |