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_RK4 Class Reference

#include <Ode.h>

Inheritance diagram for idODE_RK4:
idODE

Public Member Functions

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

Protected Attributes

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

Detailed Description

Definition at line 105 of file Ode.h.

Constructor & Destructor Documentation

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

Definition at line 141 of file Ode.cpp.

idODE_RK4::~idODE_RK4 ( void  )
virtual

Definition at line 157 of file Ode.cpp.

Member Function Documentation

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

Implements idODE.

Definition at line 170 of file Ode.cpp.

Member Data Documentation

float* idODE_RK4::d1
protected

Definition at line 115 of file Ode.h.

float* idODE_RK4::d2
protected

Definition at line 116 of file Ode.h.

float* idODE_RK4::d3
protected

Definition at line 117 of file Ode.h.

float* idODE_RK4::d4
protected

Definition at line 118 of file Ode.h.

float* idODE_RK4::tmpState
protected

Definition at line 114 of file Ode.h.


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