#include <Grad.h>
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 Grad * | create (const PDE &pde, int level) const =0 |
virtual string | toString () const =0 |
Static Public Member Functions | |
static Grad * | clone (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 Grad * | clone () const =0 |
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] |
Approximation of derivative.
Implemented in gridripper::amr1d::Grad_O1_shifted, gridripper::amr1d::Grad_O1_shifted_2, gridripper::amr1d::Grad_O2, gridripper::amr1d::Grad_O2_2, gridripper::amr1d::Grad_O21, gridripper::amr1d::Grad_O21_2, gridripper::amr1d::Grad_O4, gridripper::amr1d::Grad_O4_2, gridripper::amr1d::Grad_O421, gridripper::amr1d::Grad_O421_2, gridripper::amr1d::Grad_O6, gridripper::amr1d::Grad_O6_2, gridripper::amr1d::Grad_O6421, and gridripper::amr1d::Grad_O6421_2.
virtual void gridripper::amr1d::Grad::d2 | ( | const Grid & | g, | |
PDE * | pde, | |||
int | i, | |||
GReal_t * | result, | |||
int | size | |||
) | [pure virtual] |
Approximation of second derivative.
Implemented in gridripper::amr1d::Grad_O1_shifted, gridripper::amr1d::Grad_O1_shifted_2, gridripper::amr1d::Grad_O2, gridripper::amr1d::Grad_O2_2, gridripper::amr1d::Grad_O21, gridripper::amr1d::Grad_O21_2, gridripper::amr1d::Grad_O4, gridripper::amr1d::Grad_O4_2, gridripper::amr1d::Grad_O421, gridripper::amr1d::Grad_O421_2, gridripper::amr1d::Grad_O6, gridripper::amr1d::Grad_O6_2, gridripper::amr1d::Grad_O6421, and gridripper::amr1d::Grad_O6421_2.
virtual int gridripper::amr1d::Grad::getNumVelocity | ( | ) | [pure virtual] |
Gets the error propagation velocity.
Implemented in gridripper::amr1d::Grad_O1_shifted, gridripper::amr1d::Grad_O1_shifted_2, gridripper::amr1d::Grad_O2, gridripper::amr1d::Grad_O2_2, gridripper::amr1d::Grad_O21, gridripper::amr1d::Grad_O21_2, gridripper::amr1d::Grad_O4, gridripper::amr1d::Grad_O4_2, gridripper::amr1d::Grad_O421, gridripper::amr1d::Grad_O421_2, gridripper::amr1d::Grad_O6, gridripper::amr1d::Grad_O6_2, gridripper::amr1d::Grad_O6421, and gridripper::amr1d::Grad_O6421_2.