# DMStagGetEntriesPerElement
get number of entries per element in the local representation 
## Synopsis
```
PetscErrorCode DMStagGetEntriesPerElement(DM dm, PetscInt *entriesPerElement)
```
Not Collective


## Input Parameter

- ***dm -*** the `DMSTAG` object



## Output Parameter

- ***entriesPerElement -*** number of entries associated with each element in the local representation





## Notes
This is the natural block size for most local operations. In 1D it is equal to `dof0` $+$ `dof1`,
in 2D it is equal to `dof0` $+ 2$`dof1` $+$ `dof2`, and in 3D it is equal to `dof0` $+ 3$`dof1` $+ 3$`dof2` $+$ `dof3`


## See Also
 [](chapter_stag), `DMSTAG`, `DMStagGetDOF()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/stag/stagutils.c.html#DMStagGetEntriesPerElement">src/dm/impls/stag/stagutils.c</A>


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


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