Find out whether this DM is distributed, i.e. more than one rank owns some points.
PetscErrorCode DMPlexIsDistributed(DM dm, PetscBool *distributed)
|distributed ||- Flag whether the DM is distributed
This currently finds out whether at least two ranks have any DAG points.
This involves MPI_Allreduce() with one integer.
The result is currently not stashed so every call to this routine involves this global communication.
DMPlexDistribute(), DMPlexGetOverlap(), DMPlexIsInterpolated()
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages