Public Member Functions

gridripper::odesolver::shoot::ODEShoot Class Reference

Solution of ODEs with shootation method. More...

#include <ODEShoot.h>

List of all members.

Public Member Functions

 ODEShoot (const GrrProperties &props) throw (IllegalArgumentException&)
 Constructs the ODE solver.
 ODEShoot (const GrrProperties &props, GReal_t dx, int subSteps) throw (IllegalArgumentException&)
 Constructs the ODE solver.
 ODEShoot (ODE *ode, GReal_t dx, int dn, ODEIntegrator *oi) throw (IllegalArgumentException&)
 Constructs the ODE solver.
ODEgetODE () const
 Gets the ODE.
GReal_t getDeltaX () const
 Gets the grid spacing.
void solve (tvector< GReal_t > &sol) const
 Solves the ODE.
string getDataFormat () const
 Gets the format in which output is printed.

Detailed Description

Solution of ODEs with shootation method.

Version:
0.5, 11/06/2008
Since:
GridRipper 0.5, 01/28/2007
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::odesolver::shoot::ODEShoot::ODEShoot ( const GrrProperties props  )  throw (IllegalArgumentException&)

Constructs the ODE solver.

Parameters:
props properties
gridripper::odesolver::shoot::ODEShoot::ODEShoot ( const GrrProperties props,
GReal_t  dx,
int  subSteps 
) throw (IllegalArgumentException&)

Constructs the ODE solver.

Parameters:
props properties
dx the target grid spacing
subSteps divide dx by this value to get the ODE solver grid spacing
gridripper::odesolver::shoot::ODEShoot::ODEShoot ( ODE ode,
GReal_t  dx,
int  dn,
ODEIntegrator oi 
) throw (IllegalArgumentException&)

Constructs the ODE solver.

Parameters:
ode the ODE
dx x difference between neighboring elements of output array
dn number of numerical steps leading to next element in output array
oi integrator method

Member Function Documentation

string gridripper::odesolver::shoot::ODEShoot::getDataFormat (  )  const [inline]

Gets the format in which output is printed.

Returns:
the format
GReal_t gridripper::odesolver::shoot::ODEShoot::getDeltaX (  )  const [inline]

Gets the grid spacing.

Returns:
the grid spacing
ODE& gridripper::odesolver::shoot::ODEShoot::getODE (  )  const [inline]

Gets the ODE.

Returns:
the ODE
void gridripper::odesolver::shoot::ODEShoot::solve ( tvector< GReal_t > &  sol  )  const

Solves the ODE.

Parameters:
sol output array for the solution

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