43 #ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
44 #define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
54 #include "Teuchos_RCP.hpp"
57 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 #endif // DOXYGEN_SHOULD_SKIP_THIS
76 template<
class Scalar,
84 typedef Scalar scalar_type;
85 typedef LocalOrdinal local_ordinal_type;
86 typedef GlobalOrdinal global_ordinal_type;
87 typedef Node node_type;
97 RowMatrixTransposer (
const Teuchos::RCP<const crs_matrix_type>& origMatrix,
const std::string & label = std::string());
104 Teuchos::RCP<crs_matrix_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
114 Teuchos::RCP<crs_matrix_type>
createTransposeLocal (
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
118 Teuchos::RCP<const crs_matrix_type> origMatrix_;
130 template<
class Scalar,
138 typedef Scalar scalar_type;
139 typedef LocalOrdinal local_ordinal_type;
140 typedef GlobalOrdinal global_ordinal_type;
141 typedef Node node_type;
151 BlockCrsMatrixTransposer (
const Teuchos::RCP<const bcrs_matrix_type>& origMatrix,
const std::string & label = std::string());
158 Teuchos::RCP<bcrs_matrix_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
168 Teuchos::RCP<bcrs_matrix_type>
createTransposeLocal (
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
172 Teuchos::RCP<const bcrs_matrix_type> origMatrix_;
RowMatrixTransposer(const Teuchos::RCP< const crs_matrix_type > &origMatrix, const std::string &label=std::string())
Constructor that takes the matrix to transpose.
Sparse matrix that presents a row-oriented interface that lets users read or modify entries...
Forward declaration of Tpetra::RowMatrixTransposer.
Sparse matrix whose entries are small dense square blocks, all of the same dimensions.
Forward declaration of Tpetra::BlockCrsMatrix.
Teuchos::RCP< bcrs_matrix_type > createTransposeLocal(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the matrix given to the constructor.
BlockCrsMatrixTransposer(const Teuchos::RCP< const bcrs_matrix_type > &origMatrix, const std::string &label=std::string())
Constructor that takes the matrix to transpose.
Construct and (optionally) redistribute the explicitly stored transpose of a CrsMatrix.
Forward declaration of Tpetra::CrsMatrix.
Teuchos::RCP< crs_matrix_type > createTransposeLocal(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the matrix given to the constructor.
Teuchos::RCP< bcrs_matrix_type > createTranspose(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the matrix given to the constructor.
Teuchos::RCP< crs_matrix_type > createTranspose(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the matrix given to the constructor.
Construct and (optionally) redistribute the explicitly stored transpose of a BlockCrsMatrix.
A parallel distribution of indices over processes.
Forward declaration of Tpetra::Map.