#include "petscsnes.h" PetscErrorCode SNESNewtonTRSetPostCheck(SNES snes, PetscErrorCode (*func)(SNES,Vec,Vec,Vec,PetscBool*,PetscBool*,void*),void *ctx)Logically Collective on snes
snes | - the nonlinear solver object | |
func | - [optional] function evaluation routine, see SNESNewtonTRPostCheck() for the calling sequence | |
ctx | - [optional] user-defined context for private data for the function evaluation routine (may be NULL) |
Note: This function is called BEFORE the function evaluation within the SNESNEWTONTR solver while the function set in SNESLineSearchSetPostCheck() is called AFTER the function evaluation.