Second order Runge-Kutta method for ODE integration. More...
#include <RK2.h>
Public Member Functions | |
RK2 (ODE *ode) | |
void | integrate (FieldWrapper &f, GReal_t x, GReal_t dx) |
Performs an integration step. |
Second order Runge-Kutta method for ODE integration.
void gridripper::odesolver::shoot::method::RK2::integrate | ( | FieldWrapper & | f, | |
GReal_t | x, | |||
GReal_t | dx | |||
) | [virtual] |
Performs an integration step.
f | variable for the intial values (input) and the result (output) | |
x | the coordinate | |
dx | the step size |
Implements gridripper::odesolver::shoot::ODEIntegrator.