File cvode.cxx

Defines

ZERO
ONE

Typedefs

using CVODEINT = bout::utils::function_traits<CVLocalFn>::arg_t<0>

Functions

static int cvode_rhs(BoutReal t, N_Vector u, N_Vector du, void *user_data)
static int cvode_bbd_rhs(CVODEINT Nlocal, BoutReal t, N_Vector u, N_Vector du, void *user_data)

RHS function for BBD preconditioner.

static int cvode_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 cvode_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 cvode_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 CVSpilsSetJacTimes(void *arkode_mem, std::nullptr_t, CVSpilsJacTimesVecFn jtimes)