MatSNESMFKSPMonitor

A KSP monitor for use with the PETSc SNES matrix free routines. Prints the differencing parameter used at each step.

Synopsis

#include "petscsnes.h"   
PetscErrorCode PETSCSNES_DLLEXPORT MatSNESMFKSPMonitor(KSP ksp,PetscInt n,PetscReal rnorm,void *dummy)
Collective on KSP

Input Parameters

Options Database

Notes: Use KSPMonitorSet(ksp,MatSNESMFKSPMonitor,PETSC_NULL,PETSC_NULL);

See Also

KSPMonitorSet()

Level:none
Location:
src/snes/mf/snesmfj.c
Index of all SNESMF routines
Table of Contents for all manual pages
Index of all manual pages

ksp - the Krylov solver object
n - the current iteration
rnorm - the current residual norm (may be preconditioned or not depending on solver and options _ dummy - unused argument
-snes_mf_ksp_monitor - turn this monitor on