#include <ode.hpp>
|
virtual bool | step (const T &t, const T &dt, F &f, X &x, X &dx) const =0 |
|
template<typename T, typename X, typename F>
class ode::Solver1D< T, X, F >
Abstract ODE solver.
template<typename T , typename X , typename F >
Destructor, nothing to do
template<typename T , typename X , typename F >
bool ode::Solver1D< T, X, F >::operator() |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx |
|
) |
| const |
|
inline |
Calculates step dx. See solve method.
template<typename T , typename X , typename F >
virtual bool ode::Solver1D< T, X, F >::step |
( |
const T & |
t, |
|
|
const T & |
dt, |
|
|
F & |
f, |
|
|
X & |
x, |
|
|
X & |
dx |
|
) |
| const |
|
protectedpure virtual |
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 |
Implemented in ode::Runge4_1D< T, X, F >.
The documentation for this class was generated from the following file:
- /net/opt/univers/ubp-i-15.3-centos7-x64.urij/include/mth/ode.hpp