slepc-3.10.1 2018-10-23
Report Typos and Errors

EPSErrorView

Displays the errors associated with the computed solution (as well as the eigenvalues).

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSErrorView(EPS eps,EPSErrorType etype,PetscViewer viewer)
Collective on EPS

Input Parameters

eps  - the eigensolver context
etype  - error type
viewer  - optional visualization context

Options Database Key

-eps_error_absolute  - print absolute errors of each eigenpair
-eps_error_relative  - print relative errors of each eigenpair
-eps_error_backward  - print backward errors of each eigenpair

Notes

By default, this function checks the error of all eigenpairs and prints the eigenvalues if all of them are below the requested tolerance. If the viewer has format=PETSC_VIEWER_ASCII_INFO_DETAIL then a table with eigenvalues and corresponding errors is printed.

See Also

EPSSolve(), EPSValuesView(), EPSVectorsView()

Location: src/eps/interface/epsview.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/eps/examples/tutorials/ex2.c.html
src/eps/examples/tutorials/ex3.c.html
src/eps/examples/tutorials/ex4.c.html
src/eps/examples/tutorials/ex5.c.html
src/eps/examples/tutorials/ex7.c.html
src/eps/examples/tutorials/ex9.c.html
src/eps/examples/tutorials/ex10.c.html
src/eps/examples/tutorials/ex11.c.html
src/eps/examples/tutorials/ex13.c.html
src/eps/examples/tutorials/ex18.c.html
src/eps/examples/tutorials/ex19.c.html