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;
87 ConcreteMatrixAdapter(RCP<matrix_t> m);
89 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;
95 #endif // AMESOS2_TPETRACRSMATRIX_MATRIXADAPTER_DECL_HPP
A Matrix adapter interface for Amesos2.
Definition: Amesos2_MatrixAdapter_decl.hpp:42
Definition: Amesos2_AbstractConcreteMatrixAdapter.hpp:55