petsc-3.4.5 2014-06-29

DMPlexSetLabelValue

Add a point to a Sieve Label with given value

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexSetLabelValue(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
value - The label value for this point

Output Parameter

Keywords

mesh

See Also

DMLabelSetValue(), DMPlexGetStratumIS(), DMPlexClearLabelValue()

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