#include "slepclme.h" PetscErrorCode LMESetType(LME lme,LMEType type)Logically Collective
lme | - the linear matrix equation context | |
type | - a known method |
-lme_type <method> | - Sets the method; use -help for a list of available methods |
Normally, it is best to use the LMESetFromOptions() command and then set the LME 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 LMESetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.