gridripper::amr1d::O6Dissipation Class Reference

Sixth order sixth derivative. More...

#include <Dissipation.h>

Inheritance diagram for gridripper::amr1d::O6Dissipation:

gridripper::amr1d::Dissipation

List of all members.

Public Member Functions

 O6Dissipation (const PDE &pde, int level)
 Creates sixth order dissipation operator.
void addDissipation (const Grid &g, const PDE *pde, int i, tvalarray< GReal_t > &dfdt, int exclude) throw (IllegalArgumentException&)
 Adds sixth order dissipation term.
string toString () const
 Gets a string representation.


Detailed Description

Sixth order sixth derivative.

(For fourth order numerical methods.)


Member Function Documentation

void gridripper::amr1d::O6Dissipation::addDissipation ( const Grid g,
const PDE pde,
int  i,
tvalarray< GReal_t > &  dfdt,
int  exclude 
) throw (IllegalArgumentException&) [virtual]

Adds sixth order dissipation term.


sigma*f''''''*dx^5 = sigma*(f0 - 6*f1 + 15*f2 - 20*f3 + 15*f4 - 6*f5 + f6)/dx

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

Implements gridripper::amr1d::Dissipation.

string gridripper::amr1d::O6Dissipation::toString (  )  const [inline, virtual]

Gets a string representation.

Returns:
the class name

Implements gridripper::amr1d::Dissipation.


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

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