48 #ifndef AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
49 #define AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
51 #include "Amesos2_config.h"
52 #include "Trilinos_Details_LinearSolverFactory.hpp"
76 template<
class MV,
class OP,
class NormType>
78 public Trilinos::Details::LinearSolverFactory<MV, OP, NormType> {
89 virtual Teuchos::RCP<Trilinos::Details::LinearSolver<MV, OP, NormType> >
111 #endif // AMESOS2_DETAILS_LINEARSOLVERFACTORY_DECL_HPP
Interface for a "factory" that creates Amesos2 solvers.
Definition: Amesos2_Details_LinearSolverFactory_decl.hpp:77
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:389
static void registerLinearSolverFactory()
Register this LinearSolverFactory with the central registry.
Definition: Amesos2_Details_LinearSolverFactory_def.hpp:398