Public Member Functions

gridripper::amr1d::sigma::VanishingSigma Class Reference

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

#include <VanishingSigma.h>

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

List of all members.

Public Member Functions

 VanishingSigma (const string &cmd, const Parameters &param, const PDE &pde)
 VanishingSigma (GReal_t sigma0, GReal_t x1, GReal_t x2, GReal_t a)
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

The sigma factor of the numerical dissipation term.

Version:
0.5, 02/18/2009
Since:
0.5, 05/15/2008
Author:
Peter Csizmadia

Member Function Documentation

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

Clones the object.

Returns:
the clone

Implements gridripper::amr1d::Sigma.

GReal_t gridripper::amr1d::sigma::VanishingSigma::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: