slepc-3.16.1 2021-11-17
Report Typos and Errors


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


#include "slepclme.h" 
PetscErrorCode LMESetType(LME lme,LMEType type)
Logically Collective on lme

Input Parameters

lme  - the linear matrix equation context
type  - a known method

Options Database Key

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


See "slepc/include/slepclme.h" for available methods. The default is LMEKRYLOV

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.

See Also


Location: src/lme/interface/lmebasic.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages