DMLabelHasStratum — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# DMLabelHasStratum

Determine whether points exist with the given value

## Synopsis

    #include "petscdmlabel.h"
    #include "petscsection.h"
    PetscErrorCode DMLabelHasStratum(DMLabel label, PetscInt value, PetscBool *exists)

Not Collective

## Input Parameters

- label - the `DMLabel`

- value - the stratum value

## Output Parameter

- exists - Flag saying whether points exist

## See Also

`DMLabel`, `DM`, `DMLabelCreate()`, `DMLabelGetValue()`, `DMLabelSetValue()`, `DMLabelClearValue()`

## Level

intermediate

## Location

src/dm/label/dmlabel.c

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