File arkode.hxx¶
-
class ArkodeSolver : public Solver¶
Public Functions
-
~ArkodeSolver()¶
-
virtual int init(int nout, BoutReal tstep) override¶
Initialise the solver NOTE: nout and tstep should be passed to run, not init. Needed because of how the PETSc TS code works
-
virtual int run() override¶
Run the solver, calling monitors nout times, at intervals of tstep. This function is called by solve(), and is specific to each solver type
This should probably be protected, since it shouldn’t be called by users.
Private Functions
Private Members
-
int NOUT¶
-
bool diagnose = {false}¶
-
N_Vector uvec = {nullptr}¶
-
void *arkode_mem = {nullptr}¶
-
int pre_ncalls = {0}¶
-
int nsteps = {0}¶
-
int nfe_evals = {0}¶
-
int nfi_evals = {0}¶
-
int nniters = {0}¶
-
int npevals = {0}¶
-
int nliters = {0}¶
-
SUNLinearSolver sun_solver = {nullptr}¶
SPGMR solver structure.
-
SUNNonlinearSolver nonlinear_solver = {nullptr}¶
Solver for functional iterations for Adams-Moulton.
-
~ArkodeSolver()¶