File arkode.cxx

Defines

ZERO
ONE

Typedefs

using ARKODEINT = bout::utils::function_traits<ARKLocalFn>::arg_t<0>

Functions

static int arkode_rhs_explicit(BoutReal t, N_Vector u, N_Vector du, void *user_data)
static int arkode_rhs_implicit(BoutReal t, N_Vector u, N_Vector du, void *user_data)
static int arkode_rhs(BoutReal t, N_Vector u, N_Vector du, void *user_data)
static int arkode_bbd_rhs(ARKODEINT Nlocal, BoutReal t, N_Vector u, N_Vector du, void *user_data)

RHS function for BBD preconditioner.

static int arkode_pre(BoutReal t, N_Vector yy, N_Vector yp, N_Vector rvec, N_Vector zvec, BoutReal gamma, BoutReal delta, int lr, void *user_data)

Preconditioner function.

static int arkode_pre_shim(BoutReal t, N_Vector yy, N_Vector yp, N_Vector rvec, N_Vector zvec, BoutReal gamma, BoutReal delta, int lr, void *user_data, N_Vector tmp)
static int arkode_jac(N_Vector v, N_Vector Jv, realtype t, N_Vector y, N_Vector fy, void *user_data, N_Vector tmp)

Jacobian-vector multiplication function.

int ARKStepSetJacTimes(void *arkode_mem, std::nullptr_t, ARKSpilsJacTimesVecFn jtimes)
void *ARKStepCreate(ARKRhsFn fe, ARKRhsFn fi, BoutReal t0, N_Vector y0)

Variables

constexpr auto &ARKStepEvolve = ARKode
constexpr auto &ARKStepFree = ARKodeFree
constexpr auto &ARKStepGetCurrentTime = ARKodeGetCurrentTime
constexpr auto &ARKStepGetDky = ARKodeGetDky
constexpr auto &ARKStepGetLastStep = ARKodeGetLastStep
constexpr auto &ARKStepGetNumLinIters = ARKSpilsGetNumLinIters
constexpr auto &ARKStepGetNumNonlinSolvIters = ARKodeGetNumNonlinSolvIters
constexpr auto &ARKStepGetNumPrecEvals = ARKSpilsGetNumPrecEvals
constexpr auto &ARKStepGetNumRhsEvals = ARKodeGetNumRhsEvals
constexpr auto &ARKStepGetNumSteps = ARKodeGetNumSteps
constexpr auto &ARKStepReInit = ARKodeReInit
constexpr auto &ARKStepSStolerances = ARKodeSStolerances
constexpr auto &ARKStepSVtolerances = ARKodeSVtolerances
constexpr auto &ARKStepSetAdaptivityMethod = ARKodeSetAdaptivityMethod
constexpr auto &ARKStepSetCFLFraction = ARKodeSetCFLFraction
constexpr auto &ARKStepSetEpsLin = ARKSpilsSetEpsLin
constexpr auto &ARKStepSetExplicit = ARKodeSetExplicit
constexpr auto &ARKStepSetFixedPoint = ARKodeSetFixedPoint
constexpr auto &ARKStepSetFixedStep = ARKodeSetFixedStep
constexpr auto &ARKStepSetImEx = ARKodeSetImEx
constexpr auto &ARKStepSetImplicit = ARKodeSetImplicit
constexpr auto &ARKStepSetInitStep = ARKodeSetInitStep
constexpr auto &ARKStepSetLinear = ARKodeSetLinear
constexpr auto &ARKStepSetMaxNumSteps = ARKodeSetMaxNumSteps
constexpr auto &ARKStepSetMaxStep = ARKodeSetMaxStep
constexpr auto &ARKStepSetMinStep = ARKodeSetMinStep
constexpr auto &ARKStepSetOptimalParams = ARKodeSetOptimalParams
constexpr auto &ARKStepSetOrder = ARKodeSetOrder
constexpr auto &ARKStepSetPreconditioner = ARKSpilsSetPreconditioner
constexpr auto &ARKStepSetUserData = ARKodeSetUserData