File split-rk.hxx¶
Defines
-
SPLITRK_HXX¶
-
class SplitRK : public Solver¶
Public Functions
-
~SplitRK() = default¶
Private Functions
-
void take_step(BoutReal curtime, BoutReal dt, Array<BoutReal> &start, Array<BoutReal> &result)¶
Take a combined step Uses 2nd order Strang splitting
Note: start and result can be the same
Private Members
-
int nstages = {2}¶
Number of stages in the RKL.
-
int nsteps = {0}¶
Number of output steps.
-
bool adaptive = {true}¶
Adapt timestep using tolerances?
-
int mxstep = {1000}¶
Maximum number of internal steps between outputs.
-
int adapt_period = {1}¶
Number of steps between checks.
-
bool diagnose = {false}¶
Turn on diagnostic output.
-
int nlocal = {0}¶
-
int neq = {0}¶
Number of variables on local processor and in total.
-
~SplitRK() = default¶