SNESSetCheckJacobianDomainError#
tells SNESSolve()
whether to check if the user called SNESSetJacobianDomainError()
Jacobian domain error after each Jacobian evaluation. By default, we check Jacobian domain error in the debug mode, and do not check it in the optimized mode.
Synopsis#
#include "petscsnes.h"
PetscErrorCode SNESSetCheckJacobianDomainError(SNES snes, PetscBool flg)
Logically Collective
Input Parameters#
snes - the
SNES
contextflg - indicates if or not to check Jacobian domain error after each Jacobian evaluation
Note#
Checks require one extra parallel synchronization for each Jacobian evaluation
See Also#
SNES: Nonlinear Solvers, SNES
, SNESConvergedReason
, SNESCreate()
, SNESSetFunction()
, SNESFunction()
, SNESSetFunctionDomainError()
, SNESGetCheckJacobianDomainError()
Level#
advanced
Location#
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages