DOLFIN-X
DOLFIN-X C++ interface
kahip.h
1 // Copyright (C) 2019 Igor A. Baratta
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 <cstdint>
10 #include <dolfinx/graph/AdjacencyList.h>
11 #include <functional>
12 #include <mpi.h>
13 
16 {
17 #ifdef HAS_KAHIP
27 std::function<graph::AdjacencyList<std::int32_t>(
28  MPI_Comm, int, const AdjacencyList<std::int64_t>&, std::int32_t, bool)>
29 partitioner(int mode = 1, int seed = 0, double imbalance = 0.03,
30  bool suppress_output = true);
31 
32 #endif
33 } // namespace dolfinx::graph::kahip
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: AdjacencyList.h:46
Interfaces to KaHIP parallel partitioner.
Definition: kahip.h:16