DMPlexTransformCreateDiscLabels#
Refine the labels which define field and discrete system regions on the transformed DM
Synopsis#
#include "petscdmplextransform.h"
/* This refines the labels which define regions for fields and DSes since they are not in the list of labels for the DM */
PetscErrorCode DMPlexTransformCreateDiscLabels(DMPlexTransform tr, DM rdm)
Not Collective
Input Parameters#
tr - The
DMPlexTransformrdm - The refined
DMproduced by the transform
Note#
Region labels attached to fields (see DMSetField()) and to discrete systems (see DMSetRegionNumDS()) are
not automatically included in the list of DM labels, so this routine walks each field and each PetscDS
and updates the labels to refer to the refined points.
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexTransform, DMPlexTransformApply(), DMSetField(), DMSetRegionNumDS()
Level#
developer
Location#
src/dm/impls/plex/transform/interface/plextransform.c
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages