
Public Member Functions | |
| RK2 (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 a Runge Kutta 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 | |
| RK2 (RK2 gi, Grid g) | |
| Copy constructor. | |
Equivalent to the Crank-Nicholson method with one iteration.
Copy constructor.
| gi | the integrator to copy | |
| g | the new grid |
| final int gridripper::amr1d::gridint::RK2::getNumVelocity | ( | ) | [inline, virtual] |
| final void gridripper::amr1d::gridint::RK2::integrate | ( | int | ir | ) | [inline, virtual] |
Integrates a partial differential equation.
| ir | refined step count (0...r-1) |
Implements gridripper::amr1d::Integrator.
| final Integrator gridripper::amr1d::gridint::RK2::createIntegrator | ( | Grid | g, | |
| Sigma | s | |||
| ) | [inline, virtual] |
Creates a Runge Kutta integrator for the specified grid.
| g | the grid | |
| s | dissipation term is multiplied by this factor |
Implements gridripper::amr1d::Integrator.
| final Integrator gridripper::amr1d::gridint::RK2::cloneIntegrator | ( | Grid | g | ) | [inline, virtual] |
| final void gridripper::amr1d::gridint::RK2::getResult | ( | int | i, | |
| double[] | w | |||
| ) | [inline, virtual] |
Gets the result of the integration.
| i | the grid index | |
| w | the integration result will be copied here |
Implements gridripper::amr1d::Integrator.
1.5.6