43 #ifndef TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP 44 #define TPETRA_ROWMATRIXTRANSPOSER_DECL_HPP 66 class GlobalOrdinal = ::Tpetra::Details::DefaultTypes::global_ordinal_type,
72 typedef Scalar scalar_type;
73 typedef LocalOrdinal local_ordinal_type;
74 typedef GlobalOrdinal global_ordinal_type;
75 typedef Node node_type;
85 RowMatrixTransposer (
const Teuchos::RCP<const crs_matrix_type>& origMatrix,
const std::string & label = std::string());
106 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.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Sparse matrix that presents a row-oriented interface that lets users read or modify entries...
KokkosClassic::DefaultNode::DefaultNodeType node_type
Default value of Node template parameter.
Declaration of the Tpetra::CrsMatrix class.
int local_ordinal_type
Default value of LocalOrdinal template parameter.
Construct and (optionally) redistribute the explicitly stored transpose of a CrsMatrix.
Teuchos::RCP< crs_matrix_type > createTranspose()
Compute and return the transpose of the matrix given to the constructor.
double scalar_type
Default value of Scalar template parameter.
Describes a parallel distribution of objects over processes.
Teuchos::RCP< crs_matrix_type > createTransposeLocal()
Compute and return the transpose of the matrix given to the constructor.