slepc-3.7.3 2016-09-29
Report Typos and Errors

# PEPErrorView

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

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPErrorView(PEP pep,PEPErrorType etype,PetscViewer viewer)

Collective on PEP

### Input Parameters

| pep | - the eigensolver context
| etype | - error type
| viewer | - optional visualization context

### Options Database Key

| -pep_error_absolute | - print absolute errors of each eigenpair
| -pep_error_relative | - print relative errors of each eigenpair
| -pep_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

PEPSolve(), PEPValuesView(), PEPVectorsView()

Location: src/pep/interface/pepview.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/pep/examples/tutorials/ex16.c.html
src/pep/examples/tutorials/ex17.c.html
src/pep/examples/tutorials/ex28.c.html
src/pep/examples/tutorials/ex16f90.F90.html
src/pep/examples/nlevp/acoustic_wave_1d.c.html
src/pep/examples/nlevp/acoustic_wave_2d.c.html
src/pep/examples/nlevp/butterfly.c.html
src/pep/examples/nlevp/damped_beam.c.html
src/pep/examples/nlevp/pdde_stability.c.html
src/pep/examples/nlevp/planar_waveguide.c.html
src/pep/examples/nlevp/sleeper.c.html