#include "slepceps.h" PetscErrorCode EPSSetType(EPS eps,EPSType type)Logically Collective
eps | - the eigensolver context | |
type | - a known method |
-eps_type <method> | - Sets the method; use -help for a list of available methods |
Normally, it is best to use the EPSSetFromOptions() command and then set the EPS 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 EPSSetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.