
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. | |
| gridripper::amr1d::initcond::UserDef::UserDef | ( | String[] | args, | |
| Parameters | p, | |||
| PDE | pde | |||
| ) | throws IllegalArgumentException [inline] |
Creates initial condition.
| args | the arguments (1-element array) | |
| p | the parameters | |
| pde | the PDE |
| double gridripper::amr1d::initcond::UserDef::getTime | ( | ) | [inline, virtual] |
Gets the time parameter at the initialization.
The default implementation returns 0.
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.
| pde | the PDE | |
| x | the x coordinate | |
| phi | output array for the field values |
Implements gridripper::amr1d::FuncInitCond.
Reimplemented in gridripper::amr1d::initcond::ODEShootInit.
Collection of user defined functions and constants.
1.5.6