Go to the source code of this file.
|
| array1d< int64_t > | geos::ptscotch::partition (ArrayOfArraysView< int64_t const, int64_t > const &graph, int64_t const numParts, MPI_Comm comm) |
| | Partition a mesh according to its dual graph. More...
|
| |
◆ partition()
| array1d< int64_t > geos::ptscotch::partition |
( |
ArrayOfArraysView< int64_t const, int64_t > const & |
graph, |
|
|
int64_t const |
numParts, |
|
|
MPI_Comm |
comm |
|
) |
| |
Partition a mesh according to its dual graph.
- Parameters
-
| graph | the input graph (edges of locally owned nodes) |
| numParts | target number of partitions |
| comm | the MPI communicator of processes to partition over |
- Returns
- an array of target partitions for each element in local mesh