gridripper::amr1d::initcond::BData Class Reference

Initial condition for a PDE. More...

Inheritance diagram for gridripper::amr1d::initcond::BData:

gridripper::amr1d::InitCond

List of all members.

Public Member Functions

 BData (String args, Parameters parameters, PDE pde) throws IOException
 Creates initial condition.
boolean isOnInitialHypersurface ()
 Is the the initial condition applied on the initial hypersurface?
boolean isAppended (File f)
 Should the output be appended to an existing data file?
int init (Grid[][] grids, PDE pde, double dt, int r, int maxlevel, int bufzone, AMError amerr, double maxerr)
 Creates and initializes base grid and initial subgrids.
double getTime ()
 Gets the time parameter at the initialization.


Detailed Description

Initial condition for a PDE.

Examples:

 initCond=BData file.bdata
 initCond=BData file.bData t=1.25
 

Version:
0.5, 06/12/2009
Since:
0.3, 04/23/2005
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::initcond::BData::BData ( String  args,
Parameters  parameters,
PDE  pde 
) throws IOException [inline]

Creates initial condition.

Parameters:
args the arguments
parameters the parameters
pde the PDE


Member Function Documentation

boolean gridripper::amr1d::initcond::BData::isOnInitialHypersurface (  )  [inline]

Is the the initial condition applied on the initial hypersurface?

Returns:
true if it is applied on the initial hypersurface, false otherwise

Reimplemented from gridripper::amr1d::InitCond.

boolean gridripper::amr1d::initcond::BData::isAppended ( File  f  )  [inline]

Should the output be appended to an existing data file?

Returns:
true if output should be appended, false if an existing data file can be overwritten

Reimplemented from gridripper::amr1d::InitCond.

int gridripper::amr1d::initcond::BData::init ( Grid  grids[][],
PDE  pde,
double  dt,
int  r,
int  maxlevel,
int  bufzone,
AMError  amerr,
double  maxerr 
) [inline, virtual]

Creates and initializes base grid and initial subgrids.

Parameters:
grids array of all grids
pde the PDE
dt the time step
r refinement ratio
maxlevel maximum refinement level
bufzone buffer zone size
amerr error function
maxerr error tolerance
Returns:
the finest refinement level

Implements gridripper::amr1d::InitCond.

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

Gets the time parameter at the initialization.

The default implementation returns 0.

Returns:
the time

Implements gridripper::amr1d::InitCond.


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