KSPSetCheckNormIteration

Sets the first iteration at which the norm of the residual will be computed and used in the convergence test.

Synopsis

#include "petscksp.h" 
PetscErrorCode PETSCKSP_DLLEXPORT KSPSetCheckNormIteration(KSP ksp,PetscInt it)
Collective on KSP

Input Parameter

ksp - Krylov solver context
it - use -1 to check at all iterations

Notes

Currently only works with Bi-CG-stab

Use KSPSetNormType(ksp,KSP_NORM_NO) to never check the norm

Keywords

KSP, create, context, norms

See Also

KSPSetUp(), KSPSolve(), KSPDestroy(), KSPSkipConverged(), KSPSetNormType()

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