#include "petscsnes.h" PetscErrorCode SNESConvergedReasonView(SNES snes,PetscViewer viewer)Collective on SNES
snes | - iterative context obtained from SNESCreate() | |
viewer | - the viewer to display the reason |
-snes_converged_reason | - print reason for converged or diverged, also prints number of iterations | |
-snes_converged_reason ::failed | - only print reason and number of iterations when diverged |