#include "petsc/private/snesimpl.h" PetscErrorCode SNESMonitorResidual(SNES snes,PetscInt its,PetscReal fgnorm,PetscViewerAndFormat *vf)Collective on SNES
| snes | - the SNES context | |
| its | - iteration number | |
| fgnorm | - 2-norm of residual | |
| dummy | - a viewer |
| -snes_monitor_residual [ascii binary draw][:filename][:viewer format] | - plots residual (not its norm) at each iteration |