:orphan:
# DMLabelGetStratumPointIndex
Get the index of a point in a given stratum 
## Synopsis
```
#include "petscdmlabel.h"   
#include "petscsection.h"   
PetscErrorCode DMLabelGetStratumPointIndex(DMLabel label, PetscInt value, PetscInt p, PetscInt *index)
```
Not Collective


## Input Parameters

- ***label  -*** The `DMLabel`
- ***value  -*** The label value
- ***p      -*** A point with this value



## Output Parameter

- ***index  -*** The index of this point in the stratum, or -1 if the point is not in the stratum or the stratum does not exist





## See Also
 `DMLabel`, `DM`, `DMLabelGetValueIndex()`, `DMLabelGetStratumIS()`, `DMLabelCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/label/dmlabel.c.html#DMLabelGetStratumPointIndex">src/dm/label/dmlabel.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/label/dmlabel.c)


[Index of all DMLabel routines](index.md)  
[Table of Contents for all manual pages](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
