Public Member Functions | |
PeriodicKGEq (Parameters p) | |
final double | getMinX () |
Gets the minimum x (space) coordinate for the simulation. | |
final double | getMaxX () |
Gets the maximum x (space) coordinate for the simulation. | |
final boolean | isXPeriodic () |
Tests whether the solution is periodic in x. | |
final int | eval (double[] dF, double t, double x, double[] F, double[] Fx, Grid grid, int i, Grad d, double dt) |
Overridable PDE evaluation method. | |
FieldWrapper | createField (int level) |
final void | evalConstrainedComponents (Grid g, int i, FieldWrapper fw) |
Evaluates constrained field components. | |
double | getLightRayX (double t0, double x0, int dir, double t) |
Gets the current position of a light ray. | |
final PhysicalQuantity[] | getPhysicalQuantities () |
Static Package Functions | |
[static initializer] | |
Setting field names. | |
Classes | |
class | Energy |
class | PeriodicIntegrable |
gridripper::phys::scalar::PeriodicKGEq::[static initializer] | ( | ) | [inline, static, package] |
Setting field names.
final double gridripper::phys::scalar::PeriodicKGEq::getMinX | ( | ) | [inline, virtual] |
Gets the minimum x (space) coordinate for the simulation.
Implements gridripper::amr1d::PDE.
final double gridripper::phys::scalar::PeriodicKGEq::getMaxX | ( | ) | [inline, virtual] |
Gets the maximum x (space) coordinate for the simulation.
Implements gridripper::amr1d::PDE.
final boolean gridripper::phys::scalar::PeriodicKGEq::isXPeriodic | ( | ) | [inline] |
Tests whether the solution is periodic in x.
true
in this case Reimplemented from gridripper::amr1d::PDE.
final int gridripper::phys::scalar::PeriodicKGEq::eval | ( | double[] | dF, | |
double | t, | |||
double | x, | |||
double[] | F, | |||
double[] | Fx, | |||
Grid | g, | |||
int | i, | |||
Grad | d, | |||
double | dt | |||
) | [inline, virtual] |
Overridable PDE evaluation method.
dF | the result array, it will contain the dF/dt values | |
t | the time | |
x | the space coordinate | |
F | the field | |
Fx | the space derivative of the field | |
g | the grid | |
i | index of grid location | |
d | the finite difference operator | |
dt | time difference |
Implements gridripper::amr1d::PDE.
final void gridripper::phys::scalar::PeriodicKGEq::evalConstrainedComponents | ( | Grid | g, | |
int | i, | |||
FieldWrapper | fw | |||
) | [inline, virtual] |
Evaluates constrained field components.
g | the grid | |
i | the grid point index | |
fw | field values in the grid point |
Implements gridripper::amr1d::PDE.
double gridripper::phys::scalar::PeriodicKGEq::getLightRayX | ( | double | t0, | |
double | x0, | |||
int | dir, | |||
double | t | |||
) | [inline] |
Gets the current position of a light ray.
t0 | the initial time | |
x0 | the initial position | |
dir | direction | |
t | the current time |