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

KSPReasonView

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

Synopsis

#include "petscksp.h" 
PetscErrorCode KSPReasonView(KSP ksp,PetscViewer viewer)
Collective on KSP Many br

Parameter

ksp - iterative context obtained from KSPCreate() Many br
viewer - the viewer to display the reason Many br

Options Database Keys

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

Many br

Keywords

KSP, solve, linear system

See Also

KSPCreate(), KSPSetUp(), KSPDestroy(), KSPSetTolerances(), KSPConvergedDefault(),
KSPSolveTranspose(), KSPGetIterationNumber() Many br

Level:beginner
Location:
src/ksp/ksp/interface/itfunc.c
Index of all KSP routines
Table of Contents for all manual pages
Index of all manual pages