14 #ifndef AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
15 #define AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
17 #include "Amesos2_config.h"
18 #include "Trilinos_Details_LinearSolverFactory.hpp"
42 template<
class MV,
class OP,
class NormType>
44 public Trilinos::Details::LinearSolverFactory<MV, OP, NormType> {
55 virtual Teuchos::RCP<Trilinos::Details::LinearSolver<MV, OP, NormType> >
77 #endif // AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
Interface for a "factory" that creates Amesos2 solvers.
Definition: Amesos2_Details_LinearSolverFactory_decl.hpp:43
virtual Teuchos::RCP< Trilinos::Details::LinearSolver< MV, OP, NormType > > getLinearSolver(const std::string &solverName)
Get an instance of a Amesos2 solver.
Definition: Amesos2_Details_LinearSolverFactory_def.hpp:358
static void registerLinearSolverFactory()
Register this LinearSolverFactory with the central registry.
Definition: Amesos2_Details_LinearSolverFactory_def.hpp:367