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.