Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/v0.1.0/v0.9.0/cpp
DOLFINx  0.1.0
DOLFINx 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
18 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
dolfinx::graph::AdjacencyList
This class provides a static adjacency list data structure. It is commonly used to store directed gra...
Definition: AdjacencyList.h:46
dolfinx::graph::kahip
Interfaces to KaHIP parallel partitioner.
Definition: kahip.h:15