Public Member Functions

gridripper::odesolver::shoot::ODEIntegrator Class Reference

Numerical method to integrate an ODE. More...

#include <ODEIntegrator.h>

Inheritance diagram for gridripper::odesolver::shoot::ODEIntegrator:
gridripper::odesolver::shoot::method::RK2 gridripper::odesolver::shoot::method::RK4

List of all members.

Public Member Functions

 ODEIntegrator (ODE *ode)
 Constructs the integrator.
virtual void integrate (FieldWrapper &f, GReal_t x, GReal_t dx)=0
 Performs an integration step.
ODEgetODE () const
 Gets the ODE.

Detailed Description

Numerical method to integrate an ODE.

Version:
0.5, 01/31/2007
Since:
GridRipper 0.4, 08/02/2006
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::odesolver::shoot::ODEIntegrator::ODEIntegrator ( ODE ode  )  [inline]

Constructs the integrator.

Parameters:
ode the ODE

Member Function Documentation

ODE& gridripper::odesolver::shoot::ODEIntegrator::getODE (  )  const [inline]

Gets the ODE.

Returns:
the ODE
virtual void gridripper::odesolver::shoot::ODEIntegrator::integrate ( FieldWrapper f,
GReal_t  x,
GReal_t  dx 
) [pure virtual]

Performs an integration step.

Parameters:
f variable for the intial values (input) and the result (output)
x the coordinate
dx the step size

Implemented in gridripper::odesolver::shoot::method::RK2, and gridripper::odesolver::shoot::method::RK4.


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