gridripper::amr1d::initcond::UserDef Class Reference

User defined initial condition. More...

Inheritance diagram for gridripper::amr1d::initcond::UserDef:

gridripper::amr1d::FuncInitCond gridripper::amr1d::InitCond gridripper::amr1d::initcond::ODEShootInit

List of all members.

Public Member Functions

 UserDef (String[] args, Parameters p, PDE pde) throws IllegalArgumentException
 Creates initial condition.
double getTime ()
 Gets the time parameter at the initialization.
double[] getLightRayPositions (PDE pde)
int[] getLightRayDirections ()

Protected Member Functions

void init (PDE pde, double x, FieldWrapper fw) throws InitCond.Exception
 Initializes the grid at the specified point.

Protected Attributes

FnCollection fnCollection
 Collection of user defined functions and constants.


Detailed Description

User defined initial condition.

Version:
0.5, 05/08/2009
Since:
GridRipper 0.5, 11/29/2008
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::initcond::UserDef::UserDef ( String[]  args,
Parameters  p,
PDE  pde 
) throws IllegalArgumentException [inline]

Creates initial condition.

Parameters:
args the arguments (1-element array)
p the parameters
pde the PDE


Member Function Documentation

double gridripper::amr1d::initcond::UserDef::getTime (  )  [inline, virtual]

Gets the time parameter at the initialization.

The default implementation returns 0.

Returns:
the time

Reimplemented from gridripper::amr1d::FuncInitCond.

void gridripper::amr1d::initcond::UserDef::init ( PDE  pde,
double  x,
FieldWrapper  fw 
) throws InitCond.Exception [inline, 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.

Reimplemented in gridripper::amr1d::initcond::ODEShootInit.


Member Data Documentation

Collection of user defined functions and constants.


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

Generated on Wed Jun 17 18:47:27 2009 for GridRipper by  doxygen 1.5.6