10#ifndef IFPACK2_DETAILS_FACTORY_DECL_HPP
11#define IFPACK2_DETAILS_FACTORY_DECL_HPP
13#include "Ifpack2_ConfigDefs.hpp"
19template <
class SC,
class LO,
class GO,
class NT>
22 typedef Tpetra::RowMatrix<SC, LO, GO, NT> row_matrix_type;
23 typedef ::Ifpack2::Preconditioner<SC, LO, GO, NT> prec_type;
24 typedef typename Teuchos::ScalarTraits<SC>::magnitudeType magnitude_type;
25 typedef Tpetra::MultiVector<magnitude_type, LO, GO, NT> coord_type;
36 Teuchos::RCP<prec_type>
37 create(
const std::string& precType,
38 const Teuchos::RCP<const row_matrix_type>& matrix);
54 Teuchos::RCP<prec_type>
55 create(
const std::string& precType,
56 const Teuchos::RCP<const row_matrix_type>& matrix,
57 const Teuchos::RCP<const coord_type>& coordinates);
74 Teuchos::RCP<prec_type>
75 create(
const std::string& precType,
76 const Teuchos::RCP<const row_matrix_type>& matrix,
79 std::vector<std::string>
80 getSupportedNames()
const;
83 isSupported(
const std::string& precType);
Ifpack2 implementation details.
Preconditioners and smoothers for Tpetra sparse matrices.
Definition Ifpack2_AdditiveSchwarz_decl.hpp:40