#include <RK4.h>
Public Member Functions | |
RK4 (PDE &pde, const tvalarray< string > *opts, Sigma *sigma) | |
int | getNumVelocity () const |
Gets the numerical error propagation velocity. | |
void | integrate (int ir) |
Integrates a partial differential equation. | |
void | richardson (const AMError &amerr, int ir) |
Richardson error estimation. | |
Integrator * | createIntegrator (Grid &g, const Sigma *s) const |
Creates a Runge Kutta integrator for the specified grid. | |
Integrator * | cloneIntegrator (Grid &g) const |
Clones the integrator. | |
void | getResult (int i, tvalarray< GReal_t > &w) const |
Gets the result of the integration. | |
Protected Member Functions | |
RK4 (const RK4 &gi, Grid &g) | |
Copy constructor. |
Copy constructor.
gi | the integrator to copy | |
g | the new grid |
int gridripper::amr1d::gridint::RK4::getNumVelocity | ( | ) | const [inline, virtual] |
void gridripper::amr1d::gridint::RK4::integrate | ( | int | ir | ) | [virtual] |
Integrates a partial differential equation.
ir | refined step count (0...r-1) |
Implements gridripper::amr1d::Integrator.
void gridripper::amr1d::gridint::RK4::richardson | ( | const AMError & | amerr, | |
int | ir | |||
) | [virtual] |
Richardson error estimation.
amerr | the error calculation method | |
ir | refined step count (0...r-1) |
Implements gridripper::amr1d::Integrator.
Integrator* gridripper::amr1d::gridint::RK4::createIntegrator | ( | Grid & | g, | |
const Sigma * | s | |||
) | const [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.
Integrator* gridripper::amr1d::gridint::RK4::cloneIntegrator | ( | Grid & | g | ) | const [virtual] |
Gets the result of the integration.
i | the grid index | |
w | the integration result will be copied here |
Implements gridripper::amr1d::Integrator.