gridripper::amr1d::Grad Class Reference

Approximation of first order derivatives on the grid. More...

#include <Grad.h>

Inheritance diagram for gridripper::amr1d::Grad:

gridripper::amr1d::Grad_O1_shifted gridripper::amr1d::Grad_O1_shifted_2 gridripper::amr1d::Grad_O2 gridripper::amr1d::Grad_O21 gridripper::amr1d::Grad_O21_2 gridripper::amr1d::Grad_O2_2 gridripper::amr1d::Grad_O4 gridripper::amr1d::Grad_O421 gridripper::amr1d::Grad_O421_2 gridripper::amr1d::Grad_O4_2 gridripper::amr1d::Grad_O6 gridripper::amr1d::Grad_O6421 gridripper::amr1d::Grad_O6421_2 gridripper::amr1d::Grad_O6_2

List of all members.

Public Member Functions

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

Static Public Member Functions

static Gradclone (const Grad *d)
static void createPair (const string &name, const PDE &pde, int level, Grad **d) throw (IllegalArgumentException&)
 Creates a pair of finite difference operators for single and double grid spacing.

Protected Member Functions

virtual Gradclone () const =0


Detailed Description

Approximation of first order derivatives on the grid.

Version:
0.5, 03/10/2009
Author:
Peter Csizmadia

Member Function Documentation

void gridripper::amr1d::Grad::d ( const Grid g,
PDE pde,
int  i,
FieldWrapper result 
) [inline]

Approximation of derivative.

void gridripper::amr1d::Grad::d ( const Grid g,
PDE pde,
int  i,
tvalarray< GReal_t > &  result 
) [inline]

Approximation of derivative.

void gridripper::amr1d::Grad::d2 ( Grid g,
PDE pde,
int  i,
FieldWrapper result 
) [inline]

Approximation of second derivative.

void gridripper::amr1d::Grad::d2 ( Grid g,
PDE pde,
int  i,
tvalarray< GReal_t > &  result 
) [inline]

Approximation of second derivative.

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

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

virtual int gridripper::amr1d::Grad::getNumVelocity (  )  [pure virtual]


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

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