petsc-3.4.2 2013-07-02

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/snes/examples/tutorials/ex12.c.html