#include <nemath.h>
Public Member Functions | |
ODE () | |
virtual | ~ODE () |
void | SetStateSize (int iStateSize) |
void | EulerODE (float fDeltaTime, int iSteps) |
virtual void | Derive ()=0 |
virtual void | CalcAuxiliary (float fStepTime)=0 |
virtual void | PostODE ()=0 |
Protected Attributes | |
float ** | m_ppfState |
float * | m_pfDerive |
int | m_iStateSize |
|
|
|
Deallocate memory |
|
Set size of state array
|
|
Euler integrator
|
|
Implement in derived class |
|
Calculate auxiliary variables. Called after each integrator step
|
|
Post-integration updates. Called after each integrator finished complete deltatime update |
|
State |
|
Derive |
|
Size of state array |