petsc-3.12.5 2020-03-29
Report Typos and Errors

DMCreateLabel

Create a label of the given name if it does not already exist

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMCreateLabel(DM dm, const char name[])
Not Collective

Input Parameters

dm - The DM object
name - The label name

See Also

DMLabelCreate(), DMHasLabel(), DMGetLabelValue(), DMSetLabelValue(), DMGetStratumIS()

Level

intermediate

Location

src/dm/interface/dm.c

Examples

src/dm/impls/plex/examples/tutorials/ex2.c.html
src/dm/label/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex12.c.html
src/snes/examples/tutorials/ex56.c.html
src/snes/examples/tutorials/ex77.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex48.c.html

Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages