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

Level: intermediate

See Also

DMGetLabelValue(), DMSetLabelValue(), DMGetStratumIS()

Location:dm.c