Public Member Functions | Protected Member Functions

gridripper::amr1d::initcond::ODEShootInit Class Reference

Initial condition calculated by solving an ODE using shooting method. More...

#include <ODEShootInit.h>

Inheritance diagram for gridripper::amr1d::initcond::ODEShootInit:
gridripper::amr1d::initcond::UserDef gridripper::amr1d::FuncInitCond gridripper::amr1d::InitCond

List of all members.

Public Member Functions

 ODEShootInit (string &args, const Parameters *p, const PDE &pde) throw (IllegalArgumentException&)
 Creates initial condition.
string getMessage ()
 Gets information about initial condition generation.

Protected Member Functions

void init (PDE *pde, GReal_t x, FieldWrapper &phi) throw (InitCond::Exception&)
 Initializes the grid at the specified point.
void endInit ()
 Called at the end of init.

Detailed Description

Initial condition calculated by solving an ODE using shooting method.

Version:
0.5, 12/24/2008
Since:
GridRipper 0.5, 01/29/2007
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::initcond::ODEShootInit::ODEShootInit ( string &  args,
const Parameters p,
const PDE pde 
) throw (IllegalArgumentException&)

Creates initial condition.

Parameters:
args the arguments
p the parameters
pde the PDE

Member Function Documentation

void gridripper::amr1d::initcond::ODEShootInit::endInit (  )  [protected, virtual]

Called at the end of init.

This method can free temporarily allocated memory or perform other clean-up tasks. The default implementations is empty.

Reimplemented from gridripper::amr1d::FuncInitCond.

string gridripper::amr1d::initcond::ODEShootInit::getMessage (  )  [inline]

Gets information about initial condition generation.

Returns:
information message
void gridripper::amr1d::initcond::ODEShootInit::init ( PDE pde,
GReal_t  x,
FieldWrapper phi 
) throw (InitCond::Exception&) [protected, virtual]

Initializes the grid at the specified point.

Parameters:
pde the PDE
x the x coordinate
phi output array for the field values

Reimplemented from gridripper::amr1d::initcond::UserDef.


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