#include "slepcpep.h" PetscErrorCode PEPSetType(PEP pep,PEPType type)Logically Collective
pep | - the polynomial eigensolver context | |
type | - a known method |
-pep_type <method> | - Sets the method; use -help for a list of available methods |
Normally, it is best to use the PEPSetFromOptions() command and then set the PEP 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 PEPSetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.