#include "slepcnep.h" PetscErrorCode NEPSetType(NEP nep,NEPType type)Logically Collective on nep
|nep||- the nonlinear eigensolver context|
|type||- a known method|
|-nep_type <method>||- Sets the method; use -help for a list of available methods|
Normally, it is best to use the NEPSetFromOptions() command and then set the NEP 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 NEPSetType() routine is provided for those situations where it is necessary to set the iterative solver independently of the command line or options database.