petsc-3.12.5 2020-03-29
DMGetNumLabels
Return the number of labels defined by the mesh
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMGetNumLabels(DM dm, PetscInt *numLabels)
Not Collective
Input Parameter
dm -The DM object
Output Parameter
numLabels -the number of Labels
See Also
DMGetLabelValue(), DMSetLabelValue(), DMGetStratumIS()
Level
intermediate
Location
src/dm/interface/dm.c
Examples
src/dm/label/examples/tutorials/ex1.c.html
src/dm/label/examples/tutorials/ex1f90.F90.html
src/ts/examples/tutorials/ex11.c.html
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages