21 #ifndef __DOLFIN_BOOST_GRAPH_ORDERING_H 22 #define __DOLFIN_BOOST_GRAPH_ORDERING_H 46 static std::vector<int>
48 std::size_t size,
bool reverse=
false);
53 template<
typename T,
typename X>
54 static T build_undirected_graph(
const X& graph);
57 template<
typename T,
typename X>
58 static T build_directed_graph(
const X& graph);
61 template<
typename T,
typename X>
62 static T build_csr_directed_graph(
const X& graph);
This class computes graph re-orderings. It uses Boost Graph.
Definition: BoostGraphOrdering.h:34
static std::vector< int > compute_cuthill_mckee(const Graph &graph, bool reverse=false)
Definition: BoostGraphOrdering.cpp:35
std::vector< graph_set_type > Graph
Vector of unordered Sets.
Definition: Graph.h:39