:orphan: # DMSNESGetFunctionLocal get the local residual evaluation function information set with `DMSNESSetFunctionLocal()`. ## Synopsis ``` #include "petscsnes.h" PetscErrorCode DMSNESGetFunctionLocal(DM dm, PetscErrorCode (**func)(DM, Vec, Vec, void *), void **ctx) ``` Not Collective ## Input Parameter - ***dm -*** `DM` with the associated callback ## Output Parameters - ***func -*** local residual evaluation - ***ctx -*** context for local residual evaluation ## See Also `DMSNESSetFunction()`, `DMSNESSetFunctionLocal()`, `DMDASNESSetJacobianLocal()`, `DMDACreate1d()`, `DMDACreate2d()`, `DMDACreate3d()` ## Level beginner ## 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)