#include <RungeKutta.h>
Inheritance diagram for OSCAR::RungeKutta:

Public Methods | |
| RungeKutta (unsigned int noVariables) | |
| virtual | ~RungeKutta () |
| virtual Vector & | Integrate (void(*pfun)(double, const Vector &, Vector &), double timeStep, double time, Vector &initial) |
Private Attributes | |
| Vector | temp0 |
| Vector | temp1 |
| Vector | temp2 |
| Vector | temp3 |
|
|
|
|
|
|
|
||||||||||||||||||||
|
Call this method to integrate a system of equations. pfun is a pointer to the function that describes the equations. The function must be in the form of ode(double t, Vector& x, Vector& xdot). x' = f(t,x) Implements OSCAR::Integrator. |
|
|
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |