PETSc version 3.17.4
Fix/Edit manual page

# SNESSetFunctionDomainError

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

### Synopsis

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

Logically Collective on SNES

### Input Parameters

| snes | - the SNES context

### See Also

SNESCreate(), SNESSetFunction(), SNESFunction

### Level

advanced

### Location

src/snes/interface/snes.c

### Examples

src/ts/tutorials/ex10.c.html
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages