KSPGetErrorIfNotConverged#

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

Synopsis#

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

Not Collective

Input Parameter#

  • ksp - iterative context obtained from KSPCreate()

Output Parameter#

See Also#

KSP: Linear System Solvers, KSPSetErrorIfNotConverged(), KSP

Level#

intermediate

Location#

src/ksp/ksp/interface/itfunc.c


Edit on GitLab

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