slepc-3.22.2 2024-12-02
Report Typos and Errors

Nonlinear Eigenvalue Problem Solvers - NEP: Examples NLEVP

The Nonlinear Eigenvalue Problem (NEP) solver is the object provided by SLEPc for specifying an eigenvalue problem that is nonlinear with respect to the eigenvalue (not the eigenvector). This is intended for general nonlinear problems (rather than polynomial eigenproblems) described as T(λ)x=0.

As in the other solver objects, users can set various options at runtime via the options database (e.g., -nep_nev 4 -nep_type narnoldi). Options can also be set directly in application codes by calling the corresponding routines (e.g., NEPSetDimensions() / NEPSetType()).

ex20.c: Simple 1-D nonlinear eigenproblem
ex20f.F90: Simple 1-D nonlinear eigenproblem. Fortran90 equivalent of ex20.c
ex21.c: Simple 1-D nonlinear eigenproblem (matrix-free version)
ex22.c: Delay differential equation
ex22f.F90: Delay differential equation. Fortran90 equivalent of ex22.c
ex27.c: Simple nonlinear eigenproblem using the NLEIGS solver
ex27f.F90: Simple NLEIGS example. Fortran90 equivalent of ex27.c
ex42.c: Illustrates computation of left eigenvectors and resolvent
ex54f.F90: Illustrates use of shell matrices in callback interface from Fortran.