Multi-jagged (MJ) is a parallel (MPI+OpenMP) geometric partitioning algorithm that is a generalization of the recursive coordinate bisection algorithm. MJ partitions the coordinates into "p" balanced parts. Partitioning continues recursively in each part until the desired number of balanced parts has been created. The number of partitions in each level of recursion need not be the same.
Coordinates can be weighted, in which case the total weight in each part is balanced, rather than the number of coordinates in each part.
MJ expects a Zoltan2::CoordinateInput object. This class supports geometric coordinates of arbitrary dimension, with weights of arbritrary dimension. If weights are not provided, MJ assumes coordinates are equally weighted.
The following parameters are used by the MJ algorithm:
An MJ solution is a list of global IDs with a corresponding list of part numbers and process ranks.
See test/partition/MultiJaggedTest.cpp for an example of using the MJ algorithm.
Zoltan2_AlgMultiJagged.hpp is the source file for MJ.