#include "petscdmplex.h" PetscErrorCode DMPlexPartitionLabelInvert(DM dm, DMLabel rootLabel, PetscSF processSF, DMLabel leafLabel)
dm | - The DM | |
rootLabel | - DMLabel assinging ranks to local roots | |
processSF | - A star forest mapping into the local index on each remote rank |
Note: The rootLabel defines a send pattern by mapping local points to remote target ranks. The resulting leafLabel is a receiver mapping of remote roots to their parent rank.