petsc-3.3-p7 2013-05-11

SNESSetFunctionDomainError

tells SNES that the input vector to your FormFunction is not in the functions domain. For example, negative pressure.

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
PetscErrorCode  SNESSetFunctionDomainError(SNES snes)
Logically Collective on SNES

Input Parameters

snes -the SNES context

Keywords

SNES, view

See Also

SNESCreate(), SNESSetFunction()

Level:advanced
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex10.c.html