Module: svIntegratorRKF78¶
RKF78 integrator. It implements the method integrate() to advance one simulation time step, but can scale intermediate time steps according to the current relative error and the module’s relative tolerance.
The module
PDF Description
contains further information on this module’s function,
how to run it, as well as testing.
The default absTol
value is 1e-8, while the default relTol
is 1e-4.
-
class svIntegratorRKF78 : public StateVecIntegrator¶
- #include <svIntegratorRKF78.h>
7/8 order Runge-Kutta integrator
Public Functions
-
svIntegratorRKF78(DynamicObject *dyn)¶
class method
-
virtual ~svIntegratorRKF78()¶
-
virtual void integrate(double currentTime, double timeStep)¶
class method
Public Members
-
double alphaMatrix[13]¶
matrix of coefficients for time steps
-
double betaMatrix[13][12]¶
matrix of coefficients for state steps
-
double chMatrix[13]¶
matrix of coefficients for the result
-
double ctMatrix[13]¶
matrix of coefficients for the error
-
double kMatrix[13]¶
matrix of the k coefficients
-
double absTol¶
absolute tolerance
-
double relTol¶
relative tolerance
-
svIntegratorRKF78(DynamicObject *dyn)¶