Eigenvalue Problem Solvers - EPS: Examples

The Eigenvalue Problem Solver (EPS) is the object provided by SLEPc for specifying an eigenvalue problem, either in standard or generalized form. It provides uniform and efficient access to all of the eigensolvers included in the package.

Conceptually, the level of abstraction occupied by EPS is similar to other solvers in PETSc such as SNES for solving non-linear systems of equations.

EPS users can set various options at runtime via the options database (e.g., -eps_nev 4 -eps_type arnoldi). Options can also be set directly in application codes by calling the corresponding routines (e.g., EPSSetDimensions() / EPSSetType()).

test1.c: Tests B-orthonormality of eigenvectors in a GHEP problem
test2.c: Tests multiple calls to EPSSolve with the same matrix
test3.c: Tests multiple calls to EPSSolve with different matrix
test4.c: Test the solution of a HEP without calling EPSSetFromOptions (based on ex1
test5.c: Test different builds with a matrix loaded from a file
test6.c: Diagonal eigenproblem
makefile