DMPlexTransformCreateSplitCellLabel#

Mark the cells of a transformed mesh whose source cell was genuinely split

Synopsis#

#include "petscdmplextransform.h" 
PetscErrorCode DMPlexTransformCreateSplitCellLabel(DMPlexTransform tr, DM dm, DMLabel *label)

Not Collective

Input Parameters#

Output Parameter#

  • label - A DMLabel marking with 1 the cells of dm whose source cell produced more than one cell

Notes#

For DMPLEXREFINESBR, the label also marks cells whose source cell was not flagged in the active label, since the transform splits further cells to restore conformity.

The transform is available only if saved with DMPlexSetSaveTransform(). Use DMPlexGetTransform() to get it.

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexTransform, DMPlexTransformGetSourcePoint(), DMPlexTransformGetActive(), DMPlexGetTransform(), DMPlexLabelComplete()

Level#

advanced

Location#

src/dm/impls/plex/transform/interface/plextransform.c

Examples#

src/dm/impls/plex/tests/ex105.c


Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages