Anasazi
Version of the Day
|
This provides a factory to build Anasazi solvers using parameter lists. More...
#include <AnasaziFactory.hpp>
Static Public Member Functions | |
template<class ScalarType , class MV , class OP > | |
static Teuchos::RCP < SolverManager< ScalarType, MV, OP > > | create (const std::string &solverType, const Teuchos::RCP< Eigenproblem< ScalarType, MV, OP > > problem, Teuchos::ParameterList &pl) |
Create an instance of Anasazi::SolverManager given the string name of the solver type. More... | |
template<class ScalarType , class MV , class OP > | |
static Teuchos::RCP < SolverManager< ScalarType, MV, OP > > | create (const std::string &solverType, const Teuchos::RCP< BasicEigenproblem< ScalarType, MV, OP > > &problem, Teuchos::ParameterList &pl) |
Specialize create for BasicEigenproblem type. More... | |
This provides a factory to build Anasazi solvers using parameter lists.
Definition at line 71 of file AnasaziFactory.hpp.
|
inlinestatic |
Create an instance of Anasazi::SolverManager given the string name of the solver type.
solverType | [in] Name of solver type to be created. |
problem | [in] Anasazi eigenproblem used to define the solver |
Throw an exception if the solver with that input name does not exist. Otherwise, return a newly created solver object.
Definition at line 88 of file AnasaziFactory.hpp.
|
inlinestatic |
Specialize create for BasicEigenproblem type.
Definition at line 161 of file AnasaziFactory.hpp.