gridripper::amr1d::sigma::VaryingSigma Class Reference

The spacelike varying sigma factor of the numerical dissipation term. More...

#include <VaryingSigma.h>

Inheritance diagram for gridripper::amr1d::sigma::VaryingSigma:

gridripper::amr1d::Sigma

List of all members.

Public Member Functions

 VaryingSigma (const string &cmd, const Parameters &param, 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.
SigmacloneSigma () const
 Clones the object.


Detailed Description

The spacelike varying sigma factor of the numerical dissipation term.

Version:
0.5, 02/18/2009
Since:
0.5, 05/21/2008
Author:
Andras Laszlo

Member Function Documentation

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.

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.

Sigma* gridripper::amr1d::sigma::VaryingSigma::cloneSigma (  )  const [virtual]

Clones the object.

Returns:
the clone

Implements gridripper::amr1d::Sigma.


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

Generated on Wed Jun 17 18:46:54 2009 for GridRipper by  doxygen 1.5.6