SNESGetFunctionDomainError#

Gets the status of the domain error after a call to SNESComputeFunction()

Synopsis#

#include "petscsnes.h"  
PetscErrorCode SNESGetFunctionDomainError(SNES snes, PetscBool *domainerror)

Not Collective, different MPI processes may return different values

Input Parameter#

  • snes - the SNES context

Output Parameter#

Notes#

The value will only be true on those MPI processes that called SNESSetFunctionDomainError()

The value is reset to PETSC_FALSE when SNESCheckFunctionNorm() is called.

See Also#

SNES: Nonlinear Solvers, SNES, SNESSetFunctionDomainError(), SNESComputeFunction()

Level#

developer

Location#

src/snes/interface/snes.c


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