petsc-3.3-p7 2013-05-11

SNESGetErrorIfNotConverged

Will SNESSolve() generate an error if the solver does not converge?

Synopsis

#include "petscsnes.h"  
#include "petscdmshell.h" 
#include "petscsys.h" 
PetscErrorCode  SNESGetErrorIfNotConverged(SNES snes,PetscBool  *flag)
Not Collective

Input Parameter

snes -iterative context obtained from SNESCreate()

Output Parameter

flag -PETSC_TRUE if it will generate an error, else PETSC_FALSE

Keywords

SNES, set, initial guess, nonzero

See Also

SNESSetErrorIfNotConverged(), KSPGetErrorIfNotConverged(), KSPSetErrorIFNotConverged()

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