File petsc.cxx#

Functions

PetscErrorCode solver_f(TS ts, BoutReal t, Vec globalin, Vec globalout, void *f_data)#
PetscErrorCode solver_rhsjacobian(TS ts, BoutReal t, Vec globalin, Mat *J, Mat *Jpre, MatStructure *str, void *f_data)#
PetscErrorCode solver_ijacobianfd(TS, PetscReal, Vec, Vec, PetscReal, Mat*, Mat*, MatStructure*, void*)#
PetscErrorCode solver_if(TS, BoutReal, Vec, Vec, Vec, void*)#
PetscErrorCode PhysicsPCApply(PC, Vec x, Vec y)#

KSP preconditioner PCShell routines for physics preconditioners.

PetscErrorCode PhysicsJacobianApply(Mat J, Vec x, Vec y)#
PetscErrorCode PhysicsSNESApply(SNES, Vec)#
PetscErrorCode solver_rhsjacobian([[maybe_unused]] TS ts, [[maybe_unused]] BoutReal t, [[maybe_unused]] Vec globalin, Mat *J, Mat *Jpre, [[maybe_unused]] MatStructure *str, [[maybe_unused]] void *f_data)
PetscErrorCode solver_ijacobian(TS ts, BoutReal t, Vec globalin, [[maybe_unused]] Vec globalindot, [[maybe_unused]] PetscReal a, Mat *J, Mat *Jpre, MatStructure *str, void *f_data)#
PetscErrorCode solver_ijacobianfd(TS ts, BoutReal t, Vec globalin, Vec globalindot, PetscReal a, Mat *J, Mat *Jpre, MatStructure *str, void *f_data)#
PetscErrorCode PetscMonitor(TS ts, PetscInt step, PetscReal t, Vec X, void *ctx)#

Monitor function called on every internal timestep.

PetscErrorCode PetscSNESMonitor(SNES snes, PetscInt its, PetscReal norm, void *ctx)#

Monitor function for SNES.