gridripper::amr1d::Grad Class Reference

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

Inherits java::io::Serializable.

Inherited by 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::O2skip1, 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, and gridripper::amr1d::Grad::O6_2.

List of all members.

Public Member Functions

abstract void d (Grid g, PDE pde, int i, double[] result)
 Approximation of derivative.
abstract void d2 (Grid g, PDE pde, int i, double[] result)
 Approximation of second derivative.
abstract void d4 (Grid g, PDE pde, int i, double[] result)
 Approximation of fourth derivative.
abstract int getNumVelocity ()
 Gets the error propagation velocity.
abstract Grad create (PDE pde, int level)
final void d (Grid g, PDE pde, int i, FieldWrapper f)
 Approximation of derivative.
final void d2 (Grid g, PDE pde, int i, FieldWrapper f)
 Approximation of second derivative.
final void d4 (Grid g, PDE pde, int i, FieldWrapper f)
 Approximation of fourth derivative.

Static Public Member Functions

static Grad[] createPair (String name, PDE pde, int level)
 Creates a pair of finite difference operators for single and double grid spacing.

Classes

class  O1_shifted
 First order approximation of derivatives.
class  O1_shifted_2
 First order approximation of derivatives with double grid spacing.
class  O2
 Second order approximation of derivatives.
class  O21
 Numerical approximation of derivatives calculated in second order, except on edges where the linear approximation is applied.
class  O21_2
 Numerical approximation of derivatives with double grid spacing (For Richardson error estimation.
class  O2_2
 Second order approximation of derivatives with double grid spacing.
class  O2skip1
 Second order approximation of derivatives, by skipping the first point on the left bound.
class  O4
 Fourth order approximation of derivatives.
class  O421
 Numerical approximation of derivatives calculated in fourth order, except on edges where linear and second order approximations are applied.
class  O421_2
 Numerical approximation of derivatives with double grid spacing (For Richardson error estimation.
class  O4_2
 Fourth order approximation of derivatives with double grid spacing.
class  O6
 Sixth order approximation of derivatives.
class  O6421
 Numerical approximation of derivatives calculated in sixth order, except on edges where linear, second and fourth order approximations are applied.
class  O6421_2
 Numerical approximation of derivatives with double grid spacing.
class  O6_2
 Sixth order approximation of derivatives with double grid spacing.


Detailed Description

Approximation of first order derivatives on the grid.

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

Member Function Documentation

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

Approximation of derivative.

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

Approximation of second derivative.

abstract void gridripper::amr1d::Grad::d4 ( Grid  g,
PDE  pde,
int  i,
double[]  result 
) [pure virtual]

Approximation of fourth derivative.

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

Gets the error propagation velocity.

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

Approximation of derivative.

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

Approximation of second derivative.

final void gridripper::amr1d::Grad::d4 ( Grid  g,
PDE  pde,
int  i,
FieldWrapper  f 
) [inline]

Approximation of fourth derivative.


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

Generated on Wed Jun 17 18:47:25 2009 for GridRipper by  doxygen 1.5.6