DMGetNumLabels#
Return the number of labels defined by on the DM
Synopsis#
#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode DMGetNumLabels(DM dm, PetscInt *numLabels)
Not Collective
Input Parameter#
- dm - The - DMobject
Output Parameter#
- numLabels - the number of Labels 
See Also#
DM Basics, DM, DMLabel, DMGetLabelByNum(), DMGetLabelName(), DMGetLabelValue(), DMSetLabelValue(), DMGetStratumIS()
Level#
intermediate
Location#
Examples#
src/dm/label/tutorials/ex1.c
src/ts/tutorials/ex11_sa.c
src/dm/label/tutorials/ex1f90.F90
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages