43#ifndef TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
44#define TPETRA_CRSGRAPHTRANSPOSER_DECL_HPP
53#include "Teuchos_RCP.hpp"
56#ifndef DOXYGEN_SHOULD_SKIP_THIS
75template<
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_;
Forward declaration of Tpetra::CrsGraphTransposer.
Forward declaration of Tpetra::CrsGraph.
Forward declaration of Tpetra::Map.
Construct and (optionally) redistribute the explicitly stored transpose of a CrsGraph.
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.
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.
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.
A distributed graph accessed by rows (adjacency lists) and stored sparsely.
A parallel distribution of indices over processes.
Namespace Tpetra contains the class and methods constituting the Tpetra library.