slepc-3.17.0 2022-03-31
Report Typos and Errors

# PEPSetProblemType

Specifies the type of the polynomial eigenvalue problem.

### Synopsis

    #include "slepcpep.h"
    PetscErrorCode PEPSetProblemType(PEP pep,PEPProblemType type)

Logically Collective on pep

### 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

Location: src/pep/interface/pepopts.c

### Examples

src/pep/tutorials/ex16.c.html
src/pep/tutorials/ex38.c.html
src/pep/tutorials/ex40.c.html
src/pep/tutorials/ex50.c.html
src/pep/tutorials/ex16f90.F90.html
src/pep/tutorials/nlevp/wiresaw.c.html
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages