gridripper::amr1d::Grad_O4_2 Class Reference

Fourth order approximation of derivatives with double grid spacing. More...

#include <Grad.h>

Inheritance diagram for gridripper::amr1d::Grad_O4_2:

gridripper::amr1d::Grad

List of all members.

Public Member Functions

 Grad_O4_2 (const PDE &pde, int level)
int getNumVelocity ()
 Gets the error propagation velocity.
void d (const Grid &g, PDE *pde, int i, GReal_t *result, int size)
 Approximation of derivative.
void d2 (const Grid &g, PDE *pde, int i, GReal_t *result, int size)
 Approximation of second derivative.
Gradcreate (const PDE &pde, int level) const
string toString () const

Protected Member Functions

Gradclone () const


Detailed Description

Fourth order approximation of derivatives with double grid spacing.

(For Richardson error estimation.)


Member Function Documentation

int gridripper::amr1d::Grad_O4_2::getNumVelocity (  )  [inline, virtual]

Gets the error propagation velocity.

Implements gridripper::amr1d::Grad.

void gridripper::amr1d::Grad_O4_2::d ( const Grid g,
PDE pde,
int  i,
GReal_t result,
int  size 
) [virtual]

Approximation of derivative.

Implements gridripper::amr1d::Grad.

void gridripper::amr1d::Grad_O4_2::d2 ( const Grid g,
PDE pde,
int  i,
GReal_t result,
int  size 
) [virtual]

Approximation of second derivative.

Implements gridripper::amr1d::Grad.


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

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