gridripper::amr1d::initcond::ODERelaxInit Class Reference

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

#include <ODERelaxInit.h>

Inheritance diagram for gridripper::amr1d::initcond::ODERelaxInit:

gridripper::amr1d::FuncInitCond gridripper::amr1d::InitCond

List of all members.

Public Member Functions

 ODERelaxInit (string &args, const Parameters *p, const PDE &pde) throw (InitCond::Exception&)
 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 relaxation method.

Version:
0.5, 12/24/2008
Since:
GridRipper 0.4, 09/27/2006
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::initcond::ODERelaxInit::ODERelaxInit ( string &  args,
const Parameters p,
const PDE pde 
) throw (InitCond::Exception&)

Creates initial condition.

Parameters:
args the arguments
p the parameters
pde the PDE


Member Function Documentation

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

Gets information about initial condition generation.

Returns:
information message

void gridripper::amr1d::initcond::ODERelaxInit::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

Implements gridripper::amr1d::FuncInitCond.

void gridripper::amr1d::initcond::ODERelaxInit::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.


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

Generated on Wed Jun 17 18:46:53 2009 for GridRipper by  doxygen 1.5.6