Physsim::Integrator Class Reference

An abstract class for an ODE integration mechanism. More...

#include <Integrator.h>

Inheritance diagram for Physsim::Integrator:

Physsim::Base Physsim::EulerIntegrator Physsim::RungeKuttaImplicitIntegrator Physsim::RungeKuttaIntegrator List of all members.

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.

Detailed Description

An abstract class for an ODE integration mechanism.


Member Function Documentation

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.

Parameters:
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
Returns:
the state at time + step_size

Implemented in Physsim::EulerIntegrator, Physsim::RungeKuttaImplicitIntegrator, and Physsim::RungeKuttaIntegrator.


The documentation for this class was generated from the following file:
Generated on Wed Oct 24 14:54:22 2007 for Physsim by  doxygen 1.5.1