DMPlexReconcileLabel#
Force points matched by the pointSF to have the same value in the label
Synopsis#
#include "petscdmplex.h"
#include "petscdmlabel.h"
PetscErrorCode DMPlexReconcileLabel(DM dm, MPI_Op reduceop, PetscInt newValue, DMLabel label)
Input Parameters#
dm - The
DMreduceop - The MPI reduction operation to use for comparison, or
MPI_OP_NULLto use the root valuenewValue - Value to additionally give to newly added points, or
PETSC_DETERMINEuse only the normal valuelabel - A
DMLabelmarking the points
Note#
Newly added values can come from isolated embedded surface points on processes without a surface face.
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexLabelCohesiveComplete()
Level#
advanced
Location#
src/dm/impls/plex/plexsubmesh.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages