GVecResidualKSPMonitor

Monitors residual at each KSP iteration.

Synopsis

#include "petscsles.h" 
#include "gsolver.h" 
int GVecResidualKSPMonitor(KSP ksp, int it, PetscReal rnorm, void *ctx)
Collective on KSP

Input Parameters

ksp -The Krylov subspace context
it -The number of iterations so far
rnorm -The current (approximate) residual norm
ctx -A viewer

Keywords

grid vector, ksp, monitor, residual

See Also

KSPDefaultMonitor(),KSPSetMonitor(),GVecSolutionKSPMonitor(),
GVecRhsKSPMonitor(), GVecErrorKSPMonitor()

Level:advanced
Location:
src/gsolver/interface/gsles.c
Index of all GSolver routines
Table of Contents for all manual pages
Index of all manual pages