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#

Logically Collective

Input Parameters#

  • snes - the SNES context

  • flg - 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#

src/snes/interface/snes.c


Edit on GitLab

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