Inherits java::io::Serializable.
Inherited by gridripper::amr1d::Dissipation::O2, gridripper::amr1d::Dissipation::O4, and gridripper::amr1d::Dissipation::O6.
Public Member Functions | |
abstract void | addDissipation (Grid g, PDE pde, int i, double[] dfdt, int exclude) |
Adds a dissipation term to the time derivative. | |
final Sigma | getSigma () |
Gets the dissipation term multiplier. | |
final void | setSigma (Sigma s) |
Sets the dissipation term multiplier. | |
Protected Member Functions | |
double | evalSigma (Grid g, int i) |
Evaluates sigma. | |
Classes | |
class | O2 |
Second order second derivative. | |
class | O4 |
Fourth order fourth derivative. | |
class | O6 |
Sixth order sixth derivative. |
abstract void gridripper::amr1d::Dissipation::addDissipation | ( | Grid | g, | |
PDE | pde, | |||
int | i, | |||
double[] | dfdt, | |||
int | exclude | |||
) | [pure virtual] |
Adds a dissipation term to the time derivative.
g | the grid | |
pde | the PDE | |
i | the grid point index | |
dfdt | add the dissipation term to this time derivative | |
exclude | binary flags corresponding to constant field components for which the dissipation term must NOT be added |
final Sigma gridripper::amr1d::Dissipation::getSigma | ( | ) | [inline] |
Gets the dissipation term multiplier.
final void gridripper::amr1d::Dissipation::setSigma | ( | Sigma | s | ) | [inline] |
Sets the dissipation term multiplier.
s | the dissipation term multiplier |
double gridripper::amr1d::Dissipation::evalSigma | ( | Grid | g, | |
int | i | |||
) | [inline, protected] |