#include "petscsnes.h" PetscErrorCode SNESGetConvergedReason(SNES snes,SNESConvergedReason *reason)Not Collective
| snes | - the SNES context |
| reason | - negative value indicates diverged, positive value converged, see SNESConvergedReason or the manual pages for the individual convergence tests for complete lists |
| -snes_converged_reason | - prints the reason to standard out |