DOLFINx 0.9.0
DOLFINx C++ interface
Loading...
Searching...
No Matches
dolfinx::graph::kahip Namespace Reference

Interfaces to KaHIP parallel partitioner. More...

Functions

graph::partition_fn partitioner (int mode=1, int seed=1, double imbalance=0.03, bool suppress_output=true)
 Create a graph partitioning function that uses KaHIP.
 

Detailed Description

Interfaces to KaHIP parallel partitioner.

Function Documentation

◆ partitioner()

graph::partition_fn partitioner ( int mode = 1,
int seed = 1,
double imbalance = 0.03,
bool suppress_output = true )

Create a graph partitioning function that uses KaHIP.

Parameters
[in]modeThe KaHiP partitioning mode (see https://github.com/KaHIP/KaHIP/blob/master/parallel/parallel_src/interface/parhip_interface.h)
[in]seedThe KaHiP random number generator seed
[in]imbalanceThe allowable imbalance
[in]suppress_outputSuppresses KaHIP output if true
Returns
A KaHIP graph partitioning function with specified parameter options