slepc-3.18.1 2022-11-02
Report Typos and Errors

PEPSolve

Solves the polynomial eigensystem.

Synopsis

#include "slepcpep.h" 
PetscErrorCode PEPSolve(PEP pep)
Collective on pep

Input Parameter

pep  - eigensolver context obtained from PEPCreate()

Options Database Keys

-pep_view  - print information about the solver used
-pep_view_matk  - view the coefficient matrix Ak (replace k by an integer from 0 to nmat-1)
-pep_view_vectors  - view the computed eigenvectors
-pep_view_values  - view the computed eigenvalues
-pep_converged_reason  - print reason for convergence, and number of iterations
-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

All the command-line options listed above admit an optional argument specifying the viewer type and options. For instance, use '-pep_view_mat0 binary:amatrix.bin' to save the A matrix to a binary file, '-pep_view_values draw' to draw the computed eigenvalues graphically, or '-pep_error_relative :myerr.m:ascii_matlab' to save the errors in a file that can be executed in Matlab.

See Also

PEPCreate(), PEPSetUp(), PEPDestroy(), PEPSetTolerances()

Level

beginner

Location

src/pep/interface/pepsolve.c

Examples

src/pep/tutorials/ex16.c.html
src/pep/tutorials/ex16f90.F90.html
src/pep/tutorials/ex17.c.html
src/pep/tutorials/ex28.c.html
src/pep/tutorials/ex38.c.html
src/pep/tutorials/ex40.c.html
src/pep/tutorials/ex50.c.html
src/pep/tutorials/nlevp/acoustic_wave_1d.c.html
src/pep/tutorials/nlevp/acoustic_wave_2d.c.html
src/pep/tutorials/nlevp/butterfly.c.html
src/pep/tutorials/nlevp/damped_beam.c.html


Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages