gridripper::amr1d::gridint::FirstOrder Class Reference

First order numerical scheme for differential equation integration. More...

Inheritance diagram for gridripper::amr1d::gridint::FirstOrder:

gridripper::amr1d::Integrator

List of all members.

Public Member Functions

 FirstOrder (PDE pde, String[] opts, Sigma sigma)
final int getNumVelocity ()
 Gets the numerical error propagation velocity.
final void integrate (int ir)
 Integrates a partial differential equation.
final void richardson (AMError amerr, int ir)
 Richardson error estimation.
final Integrator createIntegrator (Grid g, Sigma s)
 Creates an integrator for the specified grid.
final Integrator cloneIntegrator (Grid g)
 Clones the integrator.
final void getResult (int i, double[] w)
 Gets the result of the integration.

Protected Member Functions

 FirstOrder (FirstOrder gi, Grid g)
 Copy constructor.


Detailed Description

First order numerical scheme for differential equation integration.

Version:
0.5, 01/07/2009
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::gridint::FirstOrder::FirstOrder ( FirstOrder  gi,
Grid  g 
) [inline, protected]

Copy constructor.

Parameters:
gi the integrator to copy
g the new grid


Member Function Documentation

final int gridripper::amr1d::gridint::FirstOrder::getNumVelocity (  )  [inline, virtual]

Gets the numerical error propagation velocity.

Returns:
1

Implements gridripper::amr1d::Integrator.

final void gridripper::amr1d::gridint::FirstOrder::integrate ( int  ir  )  [inline, virtual]

Integrates a partial differential equation.

Parameters:
ir refined step count (0...r-1)

Implements gridripper::amr1d::Integrator.

final Integrator gridripper::amr1d::gridint::FirstOrder::createIntegrator ( Grid  g,
Sigma  s 
) [inline, virtual]

Creates an integrator for the specified grid.

Parameters:
g the grid
s dissipation term is multiplied by this factor

Implements gridripper::amr1d::Integrator.

final Integrator gridripper::amr1d::gridint::FirstOrder::cloneIntegrator ( Grid  g  )  [inline, virtual]

Clones the integrator.

Parameters:
g the new grid

Implements gridripper::amr1d::Integrator.

final void gridripper::amr1d::gridint::FirstOrder::getResult ( int  i,
double[]  w 
) [inline, virtual]

Gets the result of the integration.

Parameters:
i the grid index
w the integration result will be copied here

Implements gridripper::amr1d::Integrator.


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

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