|
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 third-order scheme in the Bogacki-Shampine method. More...
|
|
static TType | integrateEmbedded (const TDFunction &f, TScalarType &t, TType &y, TScalarType h, size_t N=1) |
| Integrate using the Bogacki-Shampine method (ode23) with truncation error output. More...
|
|
|
static const short int | kLowerErrorOrder = 2 |
|
static const short int | kLigherErrorOrder = 3 |
|
static const short int | kStages = 4 |
|
◆ integrateEmbedded()
template<typename TType , typename TScalarType >
TType ls::primitives::BogackiShampine< TType, TScalarType >::integrateEmbedded |
( |
const TDFunction & |
f, |
|
|
TScalarType & |
t, |
|
|
TType & |
y, |
|
|
TScalarType |
h, |
|
|
size_t |
N = 1 |
|
) |
| |
|
static |
Integrate using the Bogacki-Shampine method (ode23) 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 >
void ls::primitives::BogackiShampine< TType, TScalarType >::integrateSimple |
( |
const TDFunction & |
f, |
|
|
TScalarType & |
t, |
|
|
TType & |
y, |
|
|
TScalarType |
h, |
|
|
size_t |
N = 1 |
|
) |
| |
|
static |
Simple integration using the third-order scheme in the Bogacki-Shampine 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: