:orphan:
# DMSetLabelValue
Add a point to a `DMLabel` with given value
## Synopsis
```
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMSetLabelValue(DM dm, const char name[], PetscInt point, PetscInt value)
```
Not Collective
## Input Parameters
- ***dm -*** The `DM` object
- ***name -*** The label name
- ***point -*** The mesh point
- ***value -*** The label value for this point
## Output Parameter
## See Also
[](ch_dmbase), `DM`, `DMLabelSetValue()`, `DMGetStratumIS()`, `DMClearLabelValue()`
## Level
beginner
## Location
src/dm/interface/dm.c
## Examples
src/snes/tutorials/ex56.c
src/snes/tutorials/ex77.c
src/ts/tutorials/ex11_sa.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dm.c)
[Index of all DM routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)