#ifndef __ODEEULER_H__ #define __ODEEULER_H__ /*************************************************************************** File: ODEMidpoint.h Created: 08/22/2001 Author: Maxim Garber Computer Science Department University of North Carolina - Chapel Hill garber@cs.unc.edu Description: Implements the standard explicit euler method ODE solver. ----------------------------------------------------------------------------. Copyright 2001 Maxim Garber UNC Motion Planning Research Group *****************************************************************************/ #include "ODESolver.h" #include "Singleton.h" // forward declaration class ODEEuler; // singleton typedef. typedef Singleton EulerSolver; class ODEEuler : public ODESolver { public: // calls the ODE solver to intergrate the system given a configuration and a timestep // - returns the resulting configuration virtual void Integrate(const ODEConfig& config, float time, float timeStep, ODEConfig& newConfig); protected: // protected for singleton use only ODEEuler(){} ~ODEEuler(){} }; #endif //__ODEEULER_H__