SNESNewtonTRDCGetPreCheck#
Gets the pre-check function optionally set with SNESNewtonTRDCSetPreCheck()
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESNewtonTRDCGetPreCheck(SNES snes, PetscErrorCode (**func)(SNES snes, Vec X, Vec Y, PetscBool *changed, PetscCtx ctx), PetscCtxRt 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] context for private data for the function evaluation routine (may be
NULL)
Calling sequence of func#
snes - the nonlinear solver object
X - the current solution value
Y - the tentative update step
changed - output, flag indicating
Yhas been changed by the pre-checkctx - the optional application context
See Also#
SNES: Nonlinear Solvers, SNES, SNESNEWTONTRDC, SNESNewtonTRDCSetPreCheck(), SNESNewtonTRDCPreCheck()
Level#
intermediate
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages