Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CRungeKutta2Op Class Reference

This class implements the Runge-Kutta integrator of 2th grade. More...

#include <RungeKutta2Op.h>

Inheritance diagram for CRungeKutta2Op:

CIntegrator List of all members.

Public Methods

virtual void SetDt (float dt)
 Sets dt(=value for one timestep).

 CRungeKutta2Op::CRungeKutta2Op (CVectorField *vectorField, CInterpolator *interpolator, float dt)
 Constructor with pointer to vectorfield, pointer to interpolator and dt as parameters.

 CRungeKutta2Op ()
virtual ~CRungeKutta2Op ()
virtual CSamplePointComputeNext (CSamplePoint *lastPoint)
 Makes one integration-step and returns pointer to new samplepoint.


Detailed Description

This class implements the Runge-Kutta integrator of 2th grade.

Runge-Kutta2 is better than Euler but requires a little more computation.


The documentation for this class was generated from the following files:
Generated on Fri Aug 9 10:12:39 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002