43 #ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
44 #define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
53 #include "Teuchos_RCP.hpp"
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 #endif // DOXYGEN_SHOULD_SKIP_THIS
75 template<
class Scalar,
83 typedef Scalar scalar_type;
84 typedef LocalOrdinal local_ordinal_type;
85 typedef GlobalOrdinal global_ordinal_type;
86 typedef Node node_type;
96 RowMatrixTransposer (
const Teuchos::RCP<const crs_matrix_type>& origMatrix,
const std::string & label = std::string());
103 Teuchos::RCP<crs_matrix_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
113 Teuchos::RCP<crs_matrix_type>
createTransposeLocal (
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
117 Teuchos::RCP<const crs_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.
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< crs_matrix_type > createTranspose(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the matrix given to the constructor.
A parallel distribution of indices over processes.
Forward declaration of Tpetra::Map.