#include "petscdmplex.h" #include "petscdmlabel.h" PetscErrorCode DMPlexConstructGhostCells(DM dm, const char labelName[], PetscInt *numGhostCells, DM *dmGhosted)Collective on dm
dm | - The original DM | |
labelName | - The label specifying the boundary faces, or "Face Sets" if this is NULL |
numGhostCells | - The number of ghost cells added to the DM | |
dmGhosted | - The new DM |
Note: If no label exists of that name, one will be created marking all boundary faces