Public Member Functions | |
VaryingSigma (String cmd, Parameters parameters, PDE pde) | |
VaryingSigma (double sigma0, double sigma1, double x0, double x1, double ramp) | |
double | getValue (double x, int ileft, int iright) |
Gets the value of the numerical dissipation factor in the specified point. | |
Static Public Member Functions | |
static void | main (String[] args) throws Exception |
Package Attributes | |
double | minx = 0 |
double | maxx = 0 |
double | sigma_at_minx = 0 |
double | sigma_at_maxx = 0 |
double | a = 0 |
double | d = 0 |
double gridripper::amr1d::sigma::VaryingSigma::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.