ABC for Runge-Kutta solvers. More...
#include <RKSolverTempl.h>
Public Types | |
typedef T | Scalar |
typedef RKSmallVector< T, N > | Vector |
Public Member Functions | |
virtual Vector | operator() (Scalar startPar, const Vector &startState, Scalar step, const Deriv< T, N > &deriv, const Dist< T, N > &dist, Scalar eps)=0 |
ABC for Runge-Kutta solvers.
Definition at line 16 of file RKSolverTempl.h.
typedef T RKSolverTempl< T,,,, N >::Scalar |
Definition at line 19 of file RKSolverTempl.h.
typedef RKSmallVector<T,N> RKSolverTempl< T,,,, N >::Vector |
Definition at line 20 of file RKSolverTempl.h.
virtual Vector RKSolverTempl< T,,,, N >::operator() | ( | Scalar | startPar, |
const Vector & | startState, | ||
Scalar | step, | ||
const Deriv< T, N > & | deriv, | ||
const Dist< T, N > & | dist, | ||
Scalar | eps | ||
) | [pure virtual] |
Advance starting state (startPar,startState) by step. The accuracy of the result should be better than eps. The accuracy is computed as the distance (using the "dist" argument) between different internal estimates of the resulting state. The "deriv" argument computes the derivatives.