:orphan: # SNESNewtonTRDCGetPreCheck Gets the pre-check function ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESNewtonTRDCGetPreCheck(SNES snes, PetscErrorCode (**func)(SNES, Vec, Vec, PetscBool *, void *), void **ctx) ``` Not Collective ## Input Parameter - ***snes -*** the nonlinear solver context ## Output Parameters - ***func -*** [optional] function evaluation routine, for the calling sequence see `SNESNewtonTRDCPreCheck()` - ***ctx -*** [optional] user-defined context for private data for the function evaluation routine (may be `NULL`) ## See Also `SNESNEWTONTRDC`, `SNESNewtonTRDCSetPreCheck()`, `SNESNewtonTRDCPreCheck()` ## Level intermediate ## Location src/snes/impls/ntrdc/ntrdc.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/ntrdc/ntrdc.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)