Public Member Functions

gridripper::amr1d::sigma::LStepSigma Class Reference

Numerical dissipation factor for handling instabilities at the left boundary. More...

#include <LStepSigma.h>

Inheritance diagram for gridripper::amr1d::sigma::LStepSigma:
gridripper::amr1d::Sigma

List of all members.

Public Member Functions

 LStepSigma (const string &cmd, const Parameters &param, const PDE &pde)
 LStepSigma (GReal_t sigma0, GReal_t sigma1, int i)
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.

Detailed Description

Numerical dissipation factor for handling instabilities at the left boundary.

Version:
0.5, 01/06/2009
Since:
GridRipper 0.5, 06/12/2008
Author:
Peter Csizmadia

Member Function Documentation

Sigma* gridripper::amr1d::sigma::LStepSigma::cloneSigma (  )  const [inline, virtual]

Clones the object.

Returns:
the clone

Implements gridripper::amr1d::Sigma.

GReal_t gridripper::amr1d::sigma::LStepSigma::getValue ( GReal_t  x,
int  ileft,
int  iright 
) const [virtual]

Gets the value of the numerical dissipation factor in the specified point.

Parameters:
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.


The documentation for this class was generated from the following file: