#include <Integrator.h>
Inheritance diagram for Physsim::Integrator:

Public Member Functions | |
| virtual VectorN | integrate (const VectorN &x, VectorN(*f)(const VectorN &, Real, void *), Real time, Real step_size, void *data)=0 |
| Methods that an ODE integrator must implement. | |
| virtual VectorN Physsim::Integrator::integrate | ( | const VectorN & | x, | |
| VectorN(*)(const VectorN &, Real, void *) | f, | |||
| Real | time, | |||
| Real | step_size, | |||
| void * | data | |||
| ) | [pure virtual] |
Methods that an ODE integrator must implement.
| x | the current state variable | |
| f | a pointer to the function of state and time to be integrated | |
| time | the current time | |
| step_size | the step size for integration |
Implemented in Physsim::EulerIntegrator, Physsim::RungeKuttaImplicitIntegrator, and Physsim::RungeKuttaIntegrator.
1.5.1