petsc-3.7.1 2016-05-15
Report Typos and Errors

SNESReasonView

Displays the reason a SNES solve converged or diverged to a viewer

Synopsis

#include "petscsnes.h"  
PetscErrorCode  SNESReasonView(SNES snes,PetscViewer viewer)
Collective on SNES Many br

Parameter

snes - iterative context obtained from SNESCreate() Many br
viewer - the viewer to display the reason Many br

Options Database Keys

-snes_converged_reason -print reason for converged or diverged, also prints number of iterations Many br

Many br

Keywords

SNES, solve, linear system

See Also

SNESCreate(), SNESSetUp(), SNESDestroy(), SNESSetTolerances(), SNESConvergedDefault()

Level:beginner
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages