Fourth order Runge-Kutta method for ODE integration. More...
#include <RK4.h>
Public Member Functions | |
| RK4 (ODE *ode) | |
| void | integrate (FieldWrapper &f, GReal_t x, GReal_t dx) |
| Performs an integration step. | |
Fourth order Runge-Kutta method for ODE integration.
| void gridripper::odesolver::shoot::method::RK4::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.
1.7.1