11 #ifndef TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
12 #define TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
21 #include "Teuchos_RCP.hpp"
24 #ifndef DOXYGEN_SHOULD_SKIP_THIS
29 #endif // DOXYGEN_SHOULD_SKIP_THIS
43 template<
class LocalOrdinal,
50 typedef LocalOrdinal local_ordinal_type;
51 typedef GlobalOrdinal global_ordinal_type;
52 typedef Node node_type;
62 CrsGraphTransposer (
const Teuchos::RCP<const crs_graph_type>& origGraph,
const std::string & label = std::string());
69 Teuchos::RCP<crs_graph_type>
symmetrize(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
72 Teuchos::RCP<crs_graph_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
82 Teuchos::RCP<crs_graph_type>
createTransposeLocal(
const Teuchos::RCP<Teuchos::ParameterList> ¶ms=Teuchos::null);
86 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.