petsc-3.6.1 2015-08-06
DMPlexGetLabelValue
Get the value in a Sieve Label for the given point, with 0 as the default
Synopsis
#include "petscdmplex.h"
PetscErrorCode DMPlexGetLabelValue(DM dm, const char name[], PetscInt point, PetscInt *value)
Not Collective
Input Parameters
| dm | - The DMPlex object
|
| name | - The label name
|
| point | - The mesh point
|
Output Parameter
value -The label value for this point, or -1 if the point is not in the label
Keywords
mesh
See Also
DMLabelGetValue(), DMPlexSetLabelValue(), DMPlexGetStratumIS()
Level:beginner
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