petsc-3.7.1 2016-05-15
KSPGMRESMonitorKrylov
Calls VecView() for each new direction in the GMRES accumulated Krylov space.
Synopsis
#include "petscksp.h"
PetscErrorCode KSPGMRESMonitorKrylov(KSP ksp,PetscInt its,PetscReal fgnorm,void *dummy)
Collective on KSP Many br
Input Parameters
| ksp | - the KSP context Many br |
| its | - iteration number Many br |
| fgnorm | - 2-norm of residual (or gradient) Many br |
| dummy | - an collection of viewers created with KSPViewerCreate() Many br |
Options Database Keys
-ksp_gmres_kyrlov_monitor - Many brNotes: A new PETSCVIEWERDRAW is created for each Krylov vector so they can all be simultaneously viewed Many br Many br
Keywords
KSP, nonlinear, vector, monitor, view, Krylov space
See Also
KSPMonitorSet(), KSPMonitorDefault(), VecView(), KSPViewersCreate(), KSPViewersDestroy()
Level:intermediate
Location:src/ksp/ksp/impls/gmres/gmres.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages