slepc-3.7.3 2016-09-29
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_gyroscopic  - problem with Hamiltonian structure

Notes

Allowed values for the problem type are: general (PEP_GENERAL), Hermitian (PEP_HERMITIAN), 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.

See Also

PEPSetOperators(), PEPSetType(), PEPGetProblemType(), PEPProblemType

Location: src/pep/interface/pepopts.c
Index of all PEP routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/pep/examples/tutorials/ex16.c.html
src/pep/examples/tutorials/ex16f90.F90.html