DMSNESGetJacobianLocal#
the local Jacobian evaluation function set with DMSNESSetJacobianLocal().
Synopsis#
#include "petscsnes.h"
PetscErrorCode DMSNESGetJacobianLocal(DM dm, PetscErrorCode (**func)(DM dm, Vec X, Mat J, Mat Jp, PetscCtx ctx), PetscCtxRt ctx)
Logically Collective
Input Parameter#
dm -
DMwith the associated callback
Output Parameters#
func - local Jacobian evaluation
ctx - context for local Jacobian evaluation
Calling sequence of func#
dm - the
DMcontextX - current solution vector (ghosted or not?)
J - the Jacobian
Jp - approximate Jacobian used to compute the preconditioner, often
Jctx - a user provided context
See Also#
SNES: Nonlinear Solvers, DMSNESSetJacobianLocal(), DMSNESSetJacobian()
Level#
beginner
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages