gridripper::amr1d::Dissipation Class Reference

Numerical dissipation term on the grid. More...

Inherits java::io::Serializable.

Inherited by gridripper::amr1d::Dissipation::O2, gridripper::amr1d::Dissipation::O4, and gridripper::amr1d::Dissipation::O6.

List of all members.

Public Member Functions

abstract void addDissipation (Grid g, PDE pde, int i, double[] dfdt, int exclude)
 Adds a dissipation term to the time derivative.
final Sigma getSigma ()
 Gets the dissipation term multiplier.
final void setSigma (Sigma s)
 Sets the dissipation term multiplier.

Protected Member Functions

double evalSigma (Grid g, int i)
 Evaluates sigma.

Classes

class  O2
 Second order second derivative.
class  O4
 Fourth order fourth derivative.
class  O6
 Sixth order sixth derivative.


Detailed Description

Numerical dissipation term on the grid.

Version:
0.5, 06/12/2008
Author:
Peter Csizmadia

Member Function Documentation

abstract void gridripper::amr1d::Dissipation::addDissipation ( Grid  g,
PDE  pde,
int  i,
double[]  dfdt,
int  exclude 
) [pure virtual]

Adds a dissipation term to the time derivative.

Parameters:
g the grid
pde the PDE
i the grid point index
dfdt add the dissipation term to this time derivative
exclude binary flags corresponding to constant field components for which the dissipation term must NOT be added

final Sigma gridripper::amr1d::Dissipation::getSigma (  )  [inline]

Gets the dissipation term multiplier.

Returns:
the dissipation term multiplier

final void gridripper::amr1d::Dissipation::setSigma ( Sigma  s  )  [inline]

Sets the dissipation term multiplier.

Parameters:
s the dissipation term multiplier

double gridripper::amr1d::Dissipation::evalSigma ( Grid  g,
int  i 
) [inline, protected]

Evaluates sigma.

Parameters:
g the grid
i grid point index
Returns:
the sigma value


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

Generated on Wed Jun 17 18:47:24 2009 for GridRipper by  doxygen 1.5.6