43#ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
44#define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
54#include "Teuchos_RCP.hpp"
57#ifndef DOXYGEN_SHOULD_SKIP_THIS
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> &
params=Teuchos::null);
118 Teuchos::RCP<const crs_matrix_type> origMatrix_;
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> &
params=Teuchos::null);
172 Teuchos::RCP<const bcrs_matrix_type> origMatrix_;
Forward declaration of Tpetra::BlockCrsMatrix.
Forward declaration of Tpetra::CrsMatrix.
Forward declaration of Tpetra::Map.
Forward declaration of Tpetra::RowMatrixTransposer.
Construct and (optionally) redistribute the explicitly stored transpose of a 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.
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.
Sparse matrix whose entries are small dense square blocks, all of the same dimensions.
Struct that holds views of the contents of a CrsMatrix.
Sparse matrix that presents a row-oriented interface that lets users read or modify entries.
Construct and (optionally) redistribute the explicitly stored transpose of a CrsMatrix.
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.
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.
RowMatrixTransposer(const Teuchos::RCP< const crs_matrix_type > &origMatrix, const std::string &label=std::string())
Constructor that takes the matrix to transpose.
Namespace Tpetra contains the class and methods constituting the Tpetra library.