SNESSetJacobianDomainError#

tells SNES that the function you provided to SNESSetJacobian() at the proposed step. For example there is a negative element transformation.

Synopsis#

#include "petscsnes.h"  
PetscErrorCode SNESSetJacobianDomainError(SNES snes)

Logically Collective

Input Parameter#

  • snes - the SNES context

Note#

You can direct SNES to avoid certain steps by using SNESVISetVariableBounds(), SNESVISetComputeVariableBounds() or SNESLineSearchSetPreCheck(), SNESLineSearchSetPostCheck()

See Also#

SNES: Nonlinear Solvers, SNESCreate(), SNESSetFunction(), SNESFunction(), SNESSetFunctionDomainError(), SNESVISetVariableBounds(), SNESVISetComputeVariableBounds(), SNESLineSearchSetPreCheck(), SNESLineSearchSetPostCheck()

Level#

advanced

Location#

src/snes/interface/snes.c

Examples#

src/snes/tutorials/ex3.c


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