#include "petsc/private/snesimpl.h" PetscErrorCode SNESMonitorSolution(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_solution [ascii binary draw][:filename][:viewer format] | - plots solution at each iteration |