petsc-3.7.3 2016-08-01
Report Typos and Errors

DMGetLabel

Return the label of a given name, or NULL

Synopsis

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

Input Parameters

dm - The DM object
name - The label name

Output Parameter

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

Keywords

mesh

See Also

DMCreateLabel(), DMHasLabel(), DMGetLabelValue(), DMSetLabelValue(), DMGetStratumIS()

Level:intermediate
Location:
src/dm/interface/dm.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/ex77.c.html
src/ts/examples/tutorials/ex11.c.html