KSPMonitorRegisterFn#
A function prototype for functions provided to KSPMonitorRegister()
Synopsis#
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode KSPMonitorRegisterFn(KSP ksp, PetscInt it, PetscReal rnorm, PetscViewerAndFormat *ctx);
Calling Sequence#
ksp - iterative solver obtained from
KSPCreate()it - iteration number
rnorm - (estimated) 2-norm of (preconditioned) residual
ctx -
PetscViewerAndFormatobject
Note#
This is a KSPMonitorFn specialized for a context of PetscViewerAndFormat
See Also#
SNES: Nonlinear Solvers, KSP, KSPMonitorSet(), KSPMonitorRegister(), KSPMonitorFn, KSPMonitorRegisterCreateFn, KSPMonitorRegisterDestroyFn
Level#
beginner
Location#
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages