GVecErrorKSPMonitor

Displays the error at each iteration.

Synopsis

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

Input Parameters

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

Notes

The final argument to KSPSetMonitor() with this routine must be a pointer to a GVecErrorKSPMonitorCtx.

Keywords

grid vector, ksp, monitor, error

See Also

KSPDefaultMonitor(),KSPSetMonitor(),,GVecSolutionKSPMonitor(),
GVecResidualKSPMonitor(), GVecRhsKSPMonitor()

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