#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexDistributeOverlap(DM dm, PetscInt overlap, PetscSF *sf, DM *dmOverlap)Collective on dm
|dm||- The non-overlapping distrbuted DMPlex object|
|overlap||- The overlap of partitions (the same on all ranks)|
|sf||- The PetscSF used for point distribution|
|dmOverlap||- The overlapping distributed DMPlex object, or NULL|
The user can control the definition of adjacency for the mesh using DMSetAdjacency(). They should choose the combination appropriate for the function representation on the mesh.