#include <ode_runge4.hpp>
|
bool | operator() (const T &t, const T &dt, F &f, X &x, X &dx) const |
|
bool | operator() (const T &t, const T &dt, F &f, X &x, X &dx, X &theta) const |
|
virtual | ~Solver1D () |
|
bool | operator() (const T &t, const T &dt, F &f, X &x, X &dx) const |
|
|
virtual bool | step (const T &t, const T &dt, F &f, X &x, X &dx) const |
|
bool | step (const T &t, const T &dt, F &f, X &x, X &dx, X &theta) const |
|
template<typename T, typename X, typename F>
class ode::Runge4_1D< T, X, F >
Fourth order Runge-Kutta ODE solver.
template<typename T , typename X , typename F >
bool ode::Runge4_1D< T, X, F >::operator() |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx |
|
) |
| const |
|
inline |
Calculates step dx. Returns false on error.
- Parameters
-
t | current argument value |
dt | step of argument |
f | right part function |
x | current function value |
dx | resulted function shift |
template<typename T , typename X , typename F >
bool ode::Runge4_1D< T, X, F >::operator() |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx, |
|
|
X & |
theta |
|
) |
| const |
|
inline |
Calculates step dx and stability parameter. Returns false on error.
- Parameters
-
t | current argument value |
dt | step of argument |
f | right part function |
x | current function value |
dx | resulted function shift |
theta | stability parameter |
template<typename T , typename X , typename F >
bool ode::Runge4_1D< T, X, F >::step |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx |
|
) |
| const |
|
protectedvirtual |
Calculates step dx. Returns false on error.
- Parameters
-
t | current argument value |
dt | step of argument |
f | right part function |
x | current function value |
dx | resulted function shift |
Implements ode::Solver1D< T, X, F >.
template<typename T , typename X , typename F >
bool ode::Runge4_1D< T, X, F >::step |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx, |
|
|
X & |
theta |
|
) |
| const |
|
protected |
Calculates step dx and stability parameter. Returns false on error.
Calculates step dx. Returns false on error.
- Parameters
-
t | current argument value |
dt | step of argument |
f | right part function |
x | current function value |
dx | resulted function shift |
theta | stability parameter |
The documentation for this class was generated from the following file:
- /net/opt/univers/ubp-i-15.3-centos7-x64.urij/include/mth/ode_runge4.hpp