:orphan: # 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 [](ch_stag), `DMSTAG`, `DMStagGetDOF()` ## Level developer ## Location src/dm/impls/stag/stagutils.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)