PEPSetProblemType#
Specifies the type of the polynomial eigenvalue problem.
Synopsis#
#include "slepcpep.h"
PetscErrorCode PEPSetProblemType(PEP pep,PEPProblemType type)
Logically Collective
Input Parameters#
pep - the polynomial eigensolver context
type - a known type of polynomial eigenvalue problem
Options Database Keys#
-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
Notes#
Allowed values for the problem type are general (PEP_GENERAL), Hermitian (PEP_HERMITIAN), hyperbolic (PEP_HYPERBOLIC), and gyroscopic (PEP_GYROSCOPIC).
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.
See Also#
PEPSetOperators(), PEPSetType(), PEPGetProblemType(), PEPProblemType
Level#
intermediate
Location#
Examples#
src/pep/tutorials/ex16f.F90
src/pep/tutorials/ex16.c
src/pep/tutorials/ex50.c
src/pep/tutorials/ex38.c
src/pep/tutorials/ex40.c
Index of all PEP routines Table of Contents for all manual pages Index of all manual pages