#include "petscksp.h" PetscErrorCode KSPMonitorSolution(KSP ksp, PetscInt n, PetscReal rnorm, PetscViewerAndFormat *vf)Collective on ksp
ksp | - iterative context | |
n | - iteration number | |
rnorm | - 2-norm (preconditioned) residual value (may be estimated). | |
vf | - The viewer context |
-ksp_monitor_solution | - Activates KSPMonitorSolution() |