#include <VaryingSigma.h>
Public Member Functions | |
VaryingSigma (const string &cmd, const Parameters ¶m, const PDE &pde) | |
VaryingSigma (GReal_t sigma0, GReal_t sigma1, GReal_t x0, GReal_t x1) | |
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::VaryingSigma::getValue | ( | GReal_t | x, | |
int | ileft, | |||
int | iright | |||
) | const [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::VaryingSigma::cloneSigma | ( | ) | const [virtual] |