21 #ifndef AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
22 #define AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
24 #include "Amesos2_config.h"
26 #include "Amesos2_TpetraRowMatrix_AbstractMatrixAdapter_decl.hpp"
27 #include "Amesos2_MatrixAdapter_decl.hpp"
43 template <
typename Scalar,
44 typename LocalOrdinal,
45 typename GlobalOrdinal,
47 class ConcreteMatrixAdapter<Tpetra::CrsMatrix<Scalar,
55 Tpetra::CrsMatrix<Scalar,
67 typedef Tpetra::CrsMatrix<Scalar,
73 Tpetra::RowMatrix<Scalar,
79 typedef typename super_t::scalar_t scalar_t;
80 typedef typename super_t::local_ordinal_t local_ordinal_t;
81 typedef typename super_t::global_ordinal_t global_ordinal_t;
82 typedef typename super_t::node_t node_t;
83 typedef typename super_t::global_size_t global_size_t;
85 typedef ConcreteMatrixAdapter<matrix_t> type;
86 typedef Tpetra::Map<local_ordinal_t,global_ordinal_t,node_t> map_t;
88 ConcreteMatrixAdapter(RCP<matrix_t> m);
90 RCP<const MatrixAdapter<matrix_t> > get_impl(const Teuchos::Ptr<const map_t> map, EDistribution distribution = ROOTED) const;
91 RCP<const MatrixAdapter<matrix_t> > reindex_impl(Teuchos::RCP<const map_t> &contigRowMap, Teuchos::RCP<const map_t> &contigColMap) const;
95 describe (Teuchos::FancyOStream& os,
96 const Teuchos::EVerbosityLevel verbLevel =
97 Teuchos::Describable::verbLevel_default) const;
102 #endif // AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
A Matrix adapter interface for Amesos2.
Definition: Amesos2_MatrixAdapter_decl.hpp:42
Definition: Amesos2_AbstractConcreteMatrixAdapter.hpp:55