Function t8_forest_pfc_correction_offsets
Defined in File t8_forest_partition_for_coarsening.h
Function Documentation
-
void t8_forest_pfc_correction_offsets(t8_forest_t forest)
Correct the partitioning if element families are split across process boundaries.
The default partitioning distributes the elements into equally-sized partitions. For coarsening, however, all elements of a family have to be on the same process in order to be coarsened into their parent element. This function corrects the partitioning such that no families are split across process boundaries. The price to be paid is a slight deviation from the optimal balance of elements among processors.
- Parameters:
forest – [inout] the forest. On input, it has been partitioned into equally-sized element partitions. On output, the partitioning has been adjusted such that no element families are split across the process boundaries.