EPSSetProblemType

Specifies the type of the eigenvalue problem.

Synopsis

#include "slepceps.h" 
PetscErrorCode EPSSetProblemType(EPS eps,EPSProblemType type)
Collective on EPS

Input Parameters

eps - the eigensolver context
type - a known type of eigenvalue problem

Options Database Keys

-eps_hermitian - Hermitian eigenvalue problem
-eps_gen_hermitian - generalized Hermitian eigenvalue problem
-eps_non_hermitian - non-Hermitian eigenvalue problem
-eps_gen_non_hermitian - generalized non-Hermitian eigenvalue problem

Note

Allowed values for the problem type are: Hermitian (EPS_HEP), non-Hermitian (EPS_NHEP), generalized Hermitian (EPS_GHEP) and generalized non-Hermitian (EPS_GNHEP).

This function must be used to instruct SLEPc to exploit symmetry. If no problem type is specified, by default a non-Hermitian problem is assumed (either standard or generalized). If the user knows that the problem is Hermitian (i.e. A=A^H) of generalized Hermitian (i.e. A=A^H, B=B^H, and B positive definite) then it is recommended to set the problem type so that eigensolver can exploit these properties.

See Also

EPSSetOperators(), EPSSetType(), EPSProblemType

Location: src/eps/interface/opts.c
Index of all EPS routines
Table of Contents for all manual pages
Index of all manual pages