petsc-dev 2014-04-16
Report Typos and Errors

DMPlexCreateLabel

Create a label of the given name if it does not already exist

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexCreateLabel(DM dm, const char name[])
Not Collective

Input Parameters

dm - The DMPlex object
name - The label name

Keywords

mesh

See Also

DMLabelCreate(), DMPlexHasLabel(), DMPlexGetLabelValue(), DMPlexSetLabelValue(), DMPlexGetStratumIS()

Level:intermediate
Location:
src/dm/impls/plex/plexlabel.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ts/examples/tutorials/ex11.c.html