
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. | |
Examples:
initCond=BData file.bdata initCond=BData file.bData t=1.25
| gridripper::amr1d::initcond::BData::BData | ( | String | args, | |
| Parameters | parameters, | |||
| PDE | pde | |||
| ) | throws IOException [inline] |
| boolean gridripper::amr1d::initcond::BData::isOnInitialHypersurface | ( | ) | [inline] |
Is the the initial condition applied on the initial hypersurface?
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?
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.
| 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 |
Implements gridripper::amr1d::InitCond.
| double gridripper::amr1d::initcond::BData::getTime | ( | ) | [inline, virtual] |
Gets the time parameter at the initialization.
The default implementation returns 0.
Implements gridripper::amr1d::InitCond.
1.5.6