:orphan: # DMSNESGetPicard get `SNES` Picard iteration evaluation functions ## Synopsis ``` #include "petscsnes.h" #include "petscdm.h" PetscErrorCode DMSNESGetPicard(DM dm, PetscErrorCode (**b)(SNES, Vec, Vec, void *), PetscErrorCode (**J)(SNES, Vec, Mat, Mat, void *), void **ctx) ``` Not Collective ## Input Parameter - ***dm -*** `DM` to be used with `SNES` ## Output Parameters - ***b -*** RHS evaluation function; see `SNESFunction` for details - ***J -*** RHS evaluation function; see `SNESJacobianFunction` for detailsa - ***ctx -*** context for residual evaluation ## See Also `DMSNESSetContext()`, `SNESSetFunction()`, `DMSNESSetJacobian()` ## Level advanced ## Location src/snes/utils/dmsnes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmsnes.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)