#include "petscksp.h" PetscErrorCode KSPGMRESMonitorKrylov(KSP ksp,PetscInt its,PetscReal fgnorm,void *dummy)Collective on ksp
ksp | - the KSP context | |
its | - iteration number | |
fgnorm | - 2-norm of residual (or gradient) | |
dummy | - an collection of viewers created with KSPViewerCreate() |
-ksp_gmres_krylov_monitor <bool> | - Plot the Krylov directions |