petsc-3.7.5 2017-01-01
Report Typos and Errors

KSPGetErrorIfNotConverged

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

Synopsis

#include "petscksp.h" 
PetscErrorCode  KSPGetErrorIfNotConverged(KSP ksp,PetscBool  *flag)
Not Collective

Input Parameter

ksp -iterative context obtained from KSPCreate()

Output Parameter

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

Keywords

KSP, set, initial guess, nonzero

See Also

KSPSetInitialGuessNonzero(), KSPSetInitialGuessKnoll(), KSPGetInitialGuessKnoll(), KSPSetErrorIfNotConverged()

Level:intermediate
Location:
src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages