petsc-3.5.4 2015-05-23
Report Typos and Errors

DMPlexGetLabel

Return the label of a given name, or NULL

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexGetLabel(DM dm, const char name[], DMLabel *label)
Not Collective

Input Parameters

dm - The DMPlex object
name - The label name

Output Parameter

label -The DMLabel, or NULL if the label is absent

Keywords

mesh

See Also

DMPlexCreateLabel(), 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/dm/impls/plex/examples/tutorials/ex1f90.F.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex62.c.html
src/ts/examples/tutorials/ex11.c.html