#include "slepcmfn.h" PetscErrorCode MFNSetType(MFN mfn,MFNType type)Logically Collective
mfn | - the matrix function context | |
type | - a known method |
-mfn_type <method> | - Sets the method; use -help for a list of available methods |
Normally, it is best to use the MFNSetFromOptions() command and then set the MFN 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 MFNSetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.