DOLFINx 0.10.0.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
ordering.h
1// Copyright (C) 2021 Chris Richardson
2//
3// This file is part of DOLFINx (https://www.fenicsproject.org)
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8
9#include "AdjacencyList.h"
10#include <cstdint>
11#include <vector>
12
13namespace dolfinx::graph
14{
24std::vector<std::int32_t>
25reorder_gps(const graph::AdjacencyList<std::int32_t>& graph);
26
27} // namespace dolfinx::graph
Graph data structures and algorithms.
Definition AdjacencyList.h:20
std::vector< std::int32_t > reorder_gps(const graph::AdjacencyList< std::int32_t > &graph)
Re-order a graph using the Gibbs-Poole-Stockmeyer algorithm.
Definition ordering.cpp:360