# SNESNewtonTRGetPostCheck
Gets the post-check function 
## Synopsis
```
#include "petscsnes.h"   
PetscErrorCode SNESNewtonTRGetPostCheck(SNES snes, PetscErrorCode (**func)(SNES, Vec, Vec, Vec, PetscBool *, PetscBool *, void *), void **ctx)
```
Deprecated use `SNESNEWTONDCTRDC`

Not collective


## Input Parameter

- ***snes -*** the nonlinear solver context



## Output Parameters

- ***func -*** [optional] function evaluation routine, see for the calling sequence `SNESNewtonTRPostCheck()`
- ***ctx  -*** [optional] user-defined context for private data for the function evaluation routine (may be NULL)





## See Also
 `SNESNEWTONDCTRDC`, `SNESNEWTONDCTR`, `SNESNewtonTRSetPostCheck()`, `SNESNewtonTRPostCheck()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/impls/tr/tr.c.html#SNESNewtonTRGetPostCheck">src/snes/impls/tr/tr.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/impls/tr/tr.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
