Public Member Functions | Protected Member Functions

gridripper::amr1d::Grad_O421 Class Reference

Numerical approximation of derivatives calculated in fourth order, except on edges where linear and second order approximations are applied. More...

#include <Grad.h>

Inheritance diagram for gridripper::amr1d::Grad_O421:
gridripper::amr1d::Grad

List of all members.

Public Member Functions

 Grad_O421 (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.
Grad * create (const PDE &pde, int level) const
string toString () const

Protected Member Functions

Grad * clone () const

Detailed Description

Numerical approximation of derivatives calculated in fourth order, except on edges where linear and second order approximations are applied.


Member Function Documentation

void gridripper::amr1d::Grad_O421::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_O421::d2 ( const Grid &  g,
PDE *  pde,
int  i,
GReal_t *  result,
int  size 
) [virtual]

Approximation of second derivative.

Implements gridripper::amr1d::Grad.

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

Gets the error propagation velocity.

Implements gridripper::amr1d::Grad.


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