10 #ifndef BELOS_DETAILS_LINEARSOLVERFACTORY_HPP
11 #define BELOS_DETAILS_LINEARSOLVERFACTORY_HPP
25 template<
class MV,
class OP,
class ScalarType,
class NormType>
63 #ifdef HAVE_TEUCHOSCORE_CXX11
64 typedef std::shared_ptr<this_type> ptr_type;
69 #endif // HAVE_TEUCHOSCORE_CXX11
71 ptr_type factory (
new this_type ());
72 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.