gridripper::amr1d::gridint::ICN Class Reference

Iterated Crank-Nicholson method. More...

#include <ICN.h>

Inheritance diagram for gridripper::amr1d::gridint::ICN:

gridripper::amr1d::Integrator

List of all members.

Public Member Functions

 ICN (PDE &pde, const tvalarray< string > *opts, Sigma *sigma)
int getNumVelocity () const
 Gets the numerical error propagation velocity.
GradgetGrad () const
 Gets the numerical differentiation scheme.
void integrate (int ir)
 Integrates a partial differential equation.
void richardson (const AMError &amerr, int ir)
 Richardson error estimation.
IntegratorcreateIntegrator (Grid &g, const Sigma *s) const
 Creates a Runge Kutta integrator for the specified grid.
IntegratorcloneIntegrator (Grid &g) const
 Clones the integrator.
void getResult (int i, tvalarray< GReal_t > &w) const
 Gets the result of the integration.

Protected Member Functions

 ICN (const ICN &gi, Grid &g)
 Copy constructor.


Detailed Description

Iterated Crank-Nicholson method.

Version:
0.5, 01/07/2009
Since:
GridRipper 0.4, 10/27/2006
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::amr1d::gridint::ICN::ICN ( const ICN gi,
Grid g 
) [protected]

Copy constructor.

Parameters:
gi the integrator to copy
g the new grid


Member Function Documentation

int gridripper::amr1d::gridint::ICN::getNumVelocity (  )  const [inline, virtual]

Gets the numerical error propagation velocity.

Returns:
6

Implements gridripper::amr1d::Integrator.

Grad& gridripper::amr1d::gridint::ICN::getGrad (  )  const [inline]

Gets the numerical differentiation scheme.

Returns:
the second order differentiation scheme

Reimplemented from gridripper::amr1d::Integrator.

void gridripper::amr1d::gridint::ICN::integrate ( int  ir  )  [virtual]

Integrates a partial differential equation.

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

Implements gridripper::amr1d::Integrator.

Integrator* gridripper::amr1d::gridint::ICN::createIntegrator ( Grid g,
const Sigma s 
) const [virtual]

Creates a Runge Kutta integrator for the specified grid.

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

Implements gridripper::amr1d::Integrator.

Integrator* gridripper::amr1d::gridint::ICN::cloneIntegrator ( Grid g  )  const [virtual]

Clones the integrator.

Parameters:
g the new grid

Implements gridripper::amr1d::Integrator.

void gridripper::amr1d::gridint::ICN::getResult ( int  i,
tvalarray< GReal_t > &  w 
) const [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:46:52 2009 for GridRipper by  doxygen 1.5.6