#include <InitCond.h>
Public Member Functions | |
virtual int | init (tvalarray< tvector< Grid * > > &grids, PDE *pde, GReal_t dt, int r, int maxlevel, int bufzone, AMError *amerr, double maxerr)=0 throw (InitCond::Exception&) |
Creates and initializes base grid and initial subgrids. | |
virtual GReal_t | getTime () const =0 |
Gets the time parameter at the initialization. | |
virtual bool | isOnInitialHypersurface () const |
Is the the initial condition applied on the initial hypersurface? | |
virtual bool | isAppended (const string &fname) const |
Should the output be appended to an existing data file? | |
virtual string | getMessage () const |
Gets information about initial condition generation. | |
Classes | |
class | Exception |
Exception thrown by InitCond::init. More... |
virtual int gridripper::amr1d::InitCond::init | ( | tvalarray< tvector< Grid * > > & | grids, | |
PDE * | pde, | |||
GReal_t | dt, | |||
int | r, | |||
int | maxlevel, | |||
int | bufzone, | |||
AMError * | amerr, | |||
double | maxerr | |||
) | throw (InitCond::Exception&) [pure virtual] |
Creates and initializes base grid and initial subgrids.
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 |
Implemented in gridripper::amr1d::FuncInitCond.
virtual GReal_t gridripper::amr1d::InitCond::getTime | ( | ) | const [pure virtual] |
Gets the time parameter at the initialization.
Implemented in gridripper::amr1d::FuncInitCond, gridripper::amr1d::initcond::BData, gridripper::amr1d::initcond::UserDef, gridripper::phys::gr::fixmp::kerrhiggs::Disk, gridripper::phys::gr::fixmp::kerrhiggs::Hunch, and gridripper::phys::gr::fixmp::higgsmp::Hunch.
virtual bool gridripper::amr1d::InitCond::isOnInitialHypersurface | ( | ) | const [inline, virtual] |
Is the the initial condition applied on the initial hypersurface?
Reimplemented in gridripper::amr1d::initcond::BData.
virtual bool gridripper::amr1d::InitCond::isAppended | ( | const string & | fname | ) | const [inline, virtual] |
Should the output be appended to an existing data file?
Reimplemented in gridripper::amr1d::initcond::BData.
virtual string gridripper::amr1d::InitCond::getMessage | ( | ) | const [inline, virtual] |
Gets information about initial condition generation.
Reimplemented in gridripper::amr1d::initcond::BData, gridripper::phys::gr::fixmp::kerrhiggs::Disk, gridripper::phys::gr::fixmp::kerrhiggs::Hunch, and gridripper::phys::gr::fixmp::higgsmp::Hunch.