#include "petscksp.h" PetscErrorCode KSPSetLagNorm(KSP ksp,PetscBool flg)
Logically Collective on KSP
ksp | - Krylov solver context | |
flg | - PETSC_TRUE or PETSC_FALSE |
Use KSPSetNormType(ksp,KSP_NORM_NONE) to never check the norm
If you lag the norm and run with, for example, -ksp_monitor, the residual norm reported will be the lagged one.
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