Public Member Functions | |
ConstantSigma (String cmd, Parameters par, PDE pde) | |
ConstantSigma (double s) | |
double | getValue (double x, int ileft, int iright) |
Gets the value of the numerical dissipation factor in the specified point. | |
Package Attributes | |
double | sigma |
double gridripper::amr1d::sigma::ConstantSigma::getValue | ( | double | x, | |
int | ileft, | |||
int | iright | |||
) | [inline, virtual] |
Gets the value of the numerical dissipation factor in the specified point.
x | the x coordinate | |
ileft | point index relative to the left bound (positive or zero) if the current grid contains the left bound, Integer.MAX_VALUE otherwise. | |
iright | point index relative to the right bound (negative or zero) if the current grid contains the right bound, Integer.MIN_VALUE otherwise. |
Implements gridripper::amr1d::Sigma.