petsc-3.12.5 2020-03-29
KSPMonitorTrueResidualMaxNorm
Prints the true residual max norm each iteration of an iterative solver.
Synopsis
#include "petscksp.h"
PetscErrorCode KSPMonitorTrueResidualMaxNorm(KSP ksp,PetscInt n,PetscReal rnorm,PetscViewerAndFormat *dummy)
Collective on ksp
Input Parameters
| ksp | - iterative context
|
| n | - iteration number
|
| rnorm | - norm (preconditioned) residual value (may be estimated).
|
| dummy | - an ASCII viewer
|
Options Database Key
-ksp_monitor_max -Activates KSPMonitorTrueResidualMaxNorm()
Notes
This could be implemented (better) with a flag in ksp.
See Also
KSPMonitorSet(), KSPMonitorDefault(), KSPMonitorLGResidualNormCreate(),KSPMonitorTrueResidualNorm()
Level
intermediate
Location
src/ksp/ksp/interface/iterativ.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages