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,
84 typedef Node node_type;
101 Teuchos::RCP<crs_graph_type>
symmetrize(
const Teuchos::RCP<Teuchos::ParameterList> &
params=Teuchos::null);
104 Teuchos::RCP<crs_graph_type>
createTranspose(
const Teuchos::RCP<Teuchos::ParameterList> &
params=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.
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 > 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.
Struct that holds views of the contents of a CrsMatrix.
Namespace Tpetra contains the class and methods constituting the Tpetra library.