SNESNewtonTRDCGetPostCheck — PETSc 3.24.5 documentation

Skip to main content
`Ctrl`+`K`

# SNESNewtonTRDCGetPostCheck

Gets the post-check function optionally set with `SNESNewtonTRDCSetPostCheck()`

## Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESNewtonTRDCGetPostCheck(SNES snes, PetscErrorCode (**func)(SNES, Vec, Vec, Vec, PetscBool *, 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 `SNESNewtonTRDCPostCheck()`

- ctx - [optional] user-defined context for private data for the function evaluation routine (may be `NULL`)

## See Also

SNES: Nonlinear Solvers, `SNES`, `SNESNEWTONTRDC`, `SNESNewtonTRDCSetPostCheck()`, `SNESNewtonTRDCPostCheck()`, `SNESNewtonTRDCSetPreCheck()`, `SNESNewtonTRDCGetPreCheck()`

## Level

intermediate

## Location

src/snes/impls/ntrdc/ntrdc.c

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages