|
typedef std::function< TType(TScalarType, TType)> | TDFunction |
|
|
static void | integrateSimple (const TDFunction &f, TScalarType &t, TType &y, TScalarType h, size_t N=1) |
| Simple integration using the fifth-order scheme in the Runge-Kutta-Fehlberg method. More...
|
|
static TType | integrateEmbedded (const TDFunction &f, TScalarType &t, TType &y, TScalarType h, size_t N=1) |
| Integrate using the Runge-Kutta-Fehlberg method (rk45) with truncation error output. More...
|
|
|
static const short int | kLowerErrorOrder = 4 |
|
static const short int | kLigherErrorOrder = 5 |
|
static const short int | kStages = 6 |
|
◆ integrateEmbedded()
template<typename TType , typename TScalarType >
Integrate using the Runge-Kutta-Fehlberg method (rk45) with truncation error output.
- Parameters
-
f | Function to be integrated. |
t | Initial time. |
y | Initial state. |
h | Integration step. |
N | Number of integration scheme executions. |
- Returns
- Local truncation error.
◆ integrateSimple()
template<typename TType , typename TScalarType >
Simple integration using the fifth-order scheme in the Runge-Kutta-Fehlberg method.
- Parameters
-
f | Function to be integrated. |
t | Initial time. |
y | Initial state. |
h | Integration step. |
N | Number of integration scheme executions. |
The documentation for this class was generated from the following file: