Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

rdRKF_fixed Class Reference

A class which integrates the equations of motion forward one step in time. More...

#include <rdRKF_fixed.h>

List of all members.

Public Member Functions

 rdRKF_fixed (rdModel *aModel)
 Default constructor.

virtual ~rdRKF_fixed ()
 Destructor.

rdModelgetModel ()
 Get the model.

int getNY ()
 Get the number of states being integrated.

int step (double dt, double t, double *xt, double *y)

Protected Attributes

rdModel_model
int _ny
double * _yv
double * _dy
double * _k1
double * _k2
double * _k3
double * _k4
double * _k5

Private Member Functions

int allocateMemory ()
 Allocate the memory needed to perform the integration.

int freeMemory ()
 Free the memory needed to perform the integration.


Detailed Description

A class which integrates the equations of motion forward one step in time.

The integration method is based on a 4th Order Runge-Kutta integrator adapted from one given by Atkinson, L.V., et al, "Numerical Methods with Fortran 77.", pp. 310-322, Addison-Wesley Publishing Company, 1989.

The user must supply a pointer to an rdModel on construction.


The documentation for this class was generated from the following files:
Generated on Wed Aug 20 02:17:12 2003 for Simulation Software by doxygen1.3