55 #ifndef AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
56 #define AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
58 #include "Amesos2_config.h"
60 #include "Amesos2_TpetraRowMatrix_AbstractMatrixAdapter_decl.hpp"
61 #include "Amesos2_MatrixAdapter_decl.hpp"
77 template <
typename Scalar,
78 typename LocalOrdinal,
79 typename GlobalOrdinal,
81 class ConcreteMatrixAdapter<Tpetra::CrsMatrix<Scalar,
89 Tpetra::CrsMatrix<Scalar,
101 typedef Tpetra::CrsMatrix<Scalar,
107 Tpetra::RowMatrix<Scalar,
113 typedef typename super_t::scalar_t scalar_t;
114 typedef typename super_t::local_ordinal_t local_ordinal_t;
115 typedef typename super_t::global_ordinal_t global_ordinal_t;
116 typedef typename super_t::node_t node_t;
117 typedef typename super_t::global_size_t global_size_t;
119 typedef ConcreteMatrixAdapter<matrix_t> type;
121 ConcreteMatrixAdapter(RCP<matrix_t> m);
123 RCP<const MatrixAdapter<matrix_t> > get_impl(const Teuchos::Ptr<const Tpetra::Map<local_ordinal_t,global_ordinal_t,node_t> > map, EDistribution distribution = ROOTED) const;
129 #endif // AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
A Matrix adapter interface for Amesos2.
Definition: Amesos2_MatrixAdapter_decl.hpp:76
Definition: Amesos2_AbstractConcreteMatrixAdapter.hpp:89