doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idODE_RK4Adaptive Class Reference

#include <Ode.h>

Inheritance diagram for idODE_RK4Adaptive:
idODE

Public Member Functions

 idODE_RK4Adaptive (const int dim, const deriveFunction_t dr, const void *ud)
 
virtual ~idODE_RK4Adaptive (void)
 
virtual float Evaluate (const float *state, float *newState, float t0, float t1)
 
void SetMaxError (const float err)
 
- Public Member Functions inherited from idODE
virtual ~idODE (void)
 

Protected Attributes

float maxError
 
floattmpState
 
floatd1
 
floatd1half
 
floatd2
 
floatd3
 
floatd4
 
- Protected Attributes inherited from idODE
int dimension
 
deriveFunction_t derive
 
const voiduserData
 

Detailed Description

Definition at line 127 of file Ode.h.

Constructor & Destructor Documentation

idODE_RK4Adaptive::idODE_RK4Adaptive ( const int  dim,
const deriveFunction_t  dr,
const void ud 
)

Definition at line 212 of file Ode.cpp.

idODE_RK4Adaptive::~idODE_RK4Adaptive ( void  )
virtual

Definition at line 230 of file Ode.cpp.

Member Function Documentation

float idODE_RK4Adaptive::Evaluate ( const float state,
float newState,
float  t0,
float  t1 
)
virtual

Implements idODE.

Definition at line 255 of file Ode.cpp.

void idODE_RK4Adaptive::SetMaxError ( const float  err)

Definition at line 244 of file Ode.cpp.

Member Data Documentation

float* idODE_RK4Adaptive::d1
protected

Definition at line 139 of file Ode.h.

float* idODE_RK4Adaptive::d1half
protected

Definition at line 140 of file Ode.h.

float* idODE_RK4Adaptive::d2
protected

Definition at line 141 of file Ode.h.

float* idODE_RK4Adaptive::d3
protected

Definition at line 142 of file Ode.h.

float* idODE_RK4Adaptive::d4
protected

Definition at line 143 of file Ode.h.

float idODE_RK4Adaptive::maxError
protected

Definition at line 137 of file Ode.h.

float* idODE_RK4Adaptive::tmpState
protected

Definition at line 138 of file Ode.h.


The documentation for this class was generated from the following files: