42 #ifndef BELOS_DETAILS_LINEARSOLVERFACTORY_HPP
43 #define BELOS_DETAILS_LINEARSOLVERFACTORY_HPP
57 template<
class MV,
class OP,
class ScalarType,
class NormType>
95 #ifdef HAVE_TEUCHOSCORE_CXX11
96 typedef std::shared_ptr<this_type> ptr_type;
101 #endif // HAVE_TEUCHOSCORE_CXX11
103 ptr_type factory (
new this_type ());
104 Trilinos::Details::registerLinearSolverFactory<MV, OP, NormType> (
"Belos", factory);
Belos' implementation of Trilinos::Details::LinearSolver.
Implementation of Trilinos::Details::LinearSolver.
static void registerLinearSolverFactory()
Register this LinearSolverFactory with the central registry.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
virtual Teuchos::RCP< Trilinos::Details::LinearSolver< MV, OP, NormType > > getLinearSolver(const std::string &solverName)
Get an instance of a Belos solver.