ABC for Runge-Kutta solvers. More...
#include <RKSolver.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 RKDerivative< T, N > &deriv, const RKDistance< T, N > &dist, float eps)=0 |
virtual | ~RKSolver () |
ABC for Runge-Kutta solvers.
Definition at line 14 of file RKSolver.h.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, RK4PreciseSolver< T, N >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 17 of file RKSolver.h.
Reimplemented in GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, RK4PreciseSolver< T, N >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Definition at line 18 of file RKSolver.h.
Definition at line 20 of file RKSolver.h.
{}
virtual Vector RKSolver< T, N >::operator() | ( | Scalar | startPar, |
const Vector & | startState, | ||
Scalar | step, | ||
const RKDerivative< T, N > & | deriv, | ||
const RKDistance< T, N > & | dist, | ||
float | 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.
Implemented in RK4PreciseSolver< T, N >.