10 #ifndef BELOSSOLVERFACTORYBASE_HPP
11 #define BELOSSOLVERFACTORYBASE_HPP
17 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 #endif // DOXYGEN_SHOULD_SKIP_THIS
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 template<
class Scalar,
class MV,
class OP>
30 #endif // DOXYGEN_SHOULD_SKIP_THIS
48 template<
class Scalar,
class MV,
class OP>
100 virtual bool isSupported (
const std::string& solverName)
const = 0;
108 #endif // BELOSSOLVERFACTORYBASE_HPP
virtual int numSupportedSolvers() const =0
Number of supported solvers.
Interface for custom Belos solver factories.
virtual Teuchos::RCP< SolverManager< Scalar, MV, OP > > getSolver(const std::string &solverName, const Teuchos::RCP< Teuchos::ParameterList > &solverParams)=0
Return an instance of the specified solver, or Teuchos::null if this factory does not provide the req...
virtual ~CustomSolverFactory()
Destructor (virtual, for safety of derived classes).
virtual bool isSupported(const std::string &solverName) const =0
Whether the given solver name names a supported solver.
virtual std::vector< std::string > supportedSolverNames() const =0
List of supported solver names.