#include <BData.h>

Public Member Functions | |
| BData (const std::string &args, const Parameters *p, const PDE &pde) throw (IOException&) | |
| Creates initial condition. | |
| bool | isOnInitialHypersurface () const |
| Is the the initial condition applied on the initial hypersurface? | |
| bool | isAppended (const std::string &f) const |
| Should the output be appended to an existing data file? | |
| int | init (tvalarray< tvector< Grid * > > &grids, PDE *pde, GReal_t dt, int r, int maxlevel, int bufzone, AMError *amerr, GReal_t maxerr) throw (InitCond::Exception&) |
| Creates and initializes base grid and initial subgrids. | |
| GReal_t | getTime () const |
| Gets the time parameter at the initialization. | |
| std::string | getMessage () const |
| Gets the message. | |
Examples:
initCond=BData file.bdata initCond=BData file.bData t=1.25
| gridripper::amr1d::initcond::BData::BData | ( | const std::string & | args, | |
| const Parameters * | p, | |||
| const PDE & | pde | |||
| ) | throw (IOException&) |
| bool gridripper::amr1d::initcond::BData::isOnInitialHypersurface | ( | ) | const [virtual] |
Is the the initial condition applied on the initial hypersurface?
Reimplemented from gridripper::amr1d::InitCond.
| bool gridripper::amr1d::initcond::BData::isAppended | ( | const std::string & | fname | ) | const [virtual] |
Should the output be appended to an existing data file?
Reimplemented from gridripper::amr1d::InitCond.
| GReal_t gridripper::amr1d::initcond::BData::getTime | ( | ) | const [virtual] |
Gets the time parameter at the initialization.
The default implementation returns 0.
Implements gridripper::amr1d::InitCond.
| std::string gridripper::amr1d::initcond::BData::getMessage | ( | ) | const [virtual] |
1.5.6