#include <ConstantSigma.h>
Public Member Functions | |
ConstantSigma (const string &cmd, const Parameters ¶meters, const PDE &pde) | |
ConstantSigma (GReal_t s) | |
GReal_t | getValue (GReal_t x, int ileft, int iright) const |
Gets the value of the numerical dissipation factor in the specified point. | |
Sigma * | cloneSigma () const |
Clones the object. |
GReal_t gridripper::amr1d::sigma::ConstantSigma::getValue | ( | GReal_t | x, | |
int | ileft, | |||
int | iright | |||
) | const [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, numeric_limits<int>::max() otherwise. | |
iright | point index relative to the right bound (negative or zero) if the current grid contains the right bound, numeric_limits<int>::min() otherwise |
Implements gridripper::amr1d::Sigma.
Sigma* gridripper::amr1d::sigma::ConstantSigma::cloneSigma | ( | ) | const [inline, virtual] |