43 #ifndef TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
44 #define TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
53 #include "Teuchos_RCP.hpp"
56 #ifndef DOXYGEN_SHOULD_SKIP_THIS
61 #endif // DOXYGEN_SHOULD_SKIP_THIS
75 template<
class LocalOrdinal,
82 typedef LocalOrdinal local_ordinal_type;
83 typedef GlobalOrdinal global_ordinal_type;
84 typedef Node node_type;
94 CrsGraphTransposer (
const Teuchos::RCP<const crs_graph_type>& origGraph,
const std::string & label = std::string());
101 Teuchos::RCP<crs_graph_type>
symmetrize(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
104 Teuchos::RCP<crs_graph_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
114 Teuchos::RCP<crs_graph_type>
createTransposeLocal(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
118 Teuchos::RCP<const crs_graph_type> origGraph_;
Teuchos::RCP< crs_graph_type > createTransposeLocal(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the graph given to the constructor.
CrsGraphTransposer(const Teuchos::RCP< const crs_graph_type > &origGraph, const std::string &label=std::string())
Constructor that takes the graph to transpose.
Teuchos::RCP< crs_graph_type > createTranspose(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return the transpose of the graph given to the constructor.
A distributed graph accessed by rows (adjacency lists) and stored sparsely.
Forward declaration of Tpetra::CrsGraphTransposer.
A parallel distribution of indices over processes.
Teuchos::RCP< crs_graph_type > symmetrize(const Teuchos::RCP< Teuchos::ParameterList > ¶ms=Teuchos::null)
Compute and return graph+graph^T of the graph given to the constructor.
Forward declaration of Tpetra::CrsGraph.
Forward declaration of Tpetra::Map.
Construct and (optionally) redistribute the explicitly stored transpose of a CrsGraph.