:orphan: # DMSNESSetJacobianLocal set a local Jacobian evaluation function ## Synopsis ``` #include "petscsnes.h" PetscErrorCode DMSNESSetJacobianLocal(DM dm, PetscErrorCode (*func)(DM, Vec, Mat, Mat, void *), void *ctx) ``` Logically Collective ## Input Parameters - ***dm -*** DM to associate callback with - ***func -*** local Jacobian evaluation - ***ctx -*** optional context for local Jacobian evaluation ## See Also `DMSNESSetJacobian()`, `DMDASNESSetJacobian()`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()` ## Level advanced ## Location src/snes/utils/dmlocalsnes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmlocalsnes.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)