petsc-3.3-p7 2013-05-11

DMComplexHasLabel

Determine whether the mesh has a label of a given name

Synopsis

#include "petscdmcomplex.h"   
PetscErrorCode DMComplexHasLabel(DM dm, const char name[], PetscBool *hasLabel)
Not Collective

Input Parameters

dm - The DMComplex object
name - The label name

Output Parameter

hasLabel -PETSC_TRUE if the label is present

Keywords

mesh

See Also

DMComplexGetLabelValue(), DMComplexSetLabelValue(), DMComplexGetLabelStratum()

Level:intermediate
Location:
src/dm/impls/complex/complex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages