43 #ifndef IFPACK2_DETAILS_FACTORY_DECL_HPP
44 #define IFPACK2_DETAILS_FACTORY_DECL_HPP
46 #include "Ifpack2_ConfigDefs.hpp"
52 template<
class SC,
class LO,
class GO,
class NT>
55 typedef Tpetra::RowMatrix<SC, LO, GO, NT> row_matrix_type;
56 typedef ::Ifpack2::Preconditioner<SC, LO, GO, NT> prec_type;
67 Teuchos::RCP<prec_type>
68 create (
const std::string& precType,
69 const Teuchos::RCP<const row_matrix_type>& matrix);
86 Teuchos::RCP<prec_type>
87 create (
const std::string& precType,
88 const Teuchos::RCP<const row_matrix_type>& matrix,
95 #endif // IFPACK2_DETAILS_FACTORY_DECL_HPP