11#ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
12#define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP
22#include "Teuchos_RCP.hpp"
25#ifndef DOXYGEN_SHOULD_SKIP_THIS
44template <
class Scalar,
52 typedef Scalar scalar_type;
53 typedef LocalOrdinal local_ordinal_type;
54 typedef GlobalOrdinal global_ordinal_type;
55 typedef Node node_type;
65 RowMatrixTransposer(
const Teuchos::RCP<const crs_matrix_type> &origMatrix,
const std::string &label = std::string());
77 Teuchos::RCP<crs_matrix_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms = Teuchos::null);
87 Teuchos::RCP<crs_matrix_type>
createTransposeLocal(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms = Teuchos::null);
91 Teuchos::RCP<const crs_matrix_type> origMatrix_;
102template <
class Scalar,
110 typedef Scalar scalar_type;
111 typedef LocalOrdinal local_ordinal_type;
112 typedef GlobalOrdinal global_ordinal_type;
113 typedef Node node_type;
123 BlockCrsMatrixTransposer(
const Teuchos::RCP<const bcrs_matrix_type> &origMatrix,
const std::string &label = std::string());
130 Teuchos::RCP<bcrs_matrix_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms = Teuchos::null);
140 Teuchos::RCP<bcrs_matrix_type>
createTransposeLocal(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms = Teuchos::null);
144 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.
Sparse matrix whose entries are small dense square blocks, all of the same dimensions.
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 that presents a row-oriented interface that lets users read or modify entries.
A parallel distribution of indices over processes.
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.