Main Page   Class Hierarchy   Compound List   File List   Compound Members  

CIntegrator Class Reference

An abstract class that is the base class for all integrator-operators. More...

#include <Integrator.h>

Inheritance diagram for CIntegrator:

CEulerOp CRungeKutta2Op CRungeKutta4Op List of all members.

Public Methods

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

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

CSamplePointComputeLast (CSamplePoint *nextPoint)
 Makes one integration-step in the other direction and returns pointer to new samplepoint.

virtual void SetDt (float dt)
 Sets time-step value(should be little for obtaining good results).

void SetInterpolator (CInterpolator *interpolator)
 Sets pointer to integrator.

void SetVectorField (CVectorField *vectorField)
 Sets pointer to vectorfield the integrator operates on.


Protected Attributes

float m_Dt
CInterpolatorm_Interpolator
CVectorFieldm_VectorField

Detailed Description

An abstract class that is the base class for all integrator-operators.

CIntegrator is the base class for all discrete operators like Euler-Op which approximate an integration of a streamline with stepsize dt


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