QEPSetType

Selects the particular solver to be used in the QEP object.

Synopsis

#include "slepcqep.h" 
PetscErrorCode QEPSetType(QEP qep,const QEPType type)
Collective on QEP

Input Parameters

qep - the quadratic eigensolver context
type - a known method

Options Database Key

-qep_type <method> - Sets the method; use -help for a list of available methods

Notes

See "slepc/include/slepcqep.h" for available methods. The default is QEPLINEAR.

Normally, it is best to use the QEPSetFromOptions() command and then set the QEP type from the options database rather than by using this routine. Using the options database provides the user with maximum flexibility in evaluating the different available methods. The QEPSetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.

See Also

QEPType

Location: src/qep/interface/qepbasic.c
Index of all QEP routines
Table of Contents for all manual pages
Index of all manual pages