#include "slepcpep.h" PetscErrorCode PEPSetProblemType(PEP pep,PEPProblemType type)Logically Collective on pep
pep | - the polynomial eigensolver context | |
type | - a known type of polynomial eigenvalue problem |
-pep_general | - general problem with no particular structure | |
-pep_hermitian | - problem whose coefficient matrices are Hermitian | |
-pep_hyperbolic | - Hermitian problem that satisfies the definition of hyperbolic | |
-pep_gyroscopic | - problem with Hamiltonian structure |
This function is used to instruct SLEPc to exploit certain structure in the polynomial eigenproblem. By default, no particular structure is assumed.
If the problem matrices are Hermitian (symmetric in the real case) or Hermitian/skew-Hermitian then the solver can exploit this fact to perform less operations or provide better stability. Hyperbolic problems are a particular case of Hermitian problems, some solvers may treat them simply as Hermitian.
Location: src/pep/interface/pepopts.c