:orphan: # DMStagStencilType Elementwise stencil type, determining which neighbors participate in communication ## Synopsis ``` typedef enum { DMSTAG_STENCIL_NONE = 0, DMSTAG_STENCIL_STAR, DMSTAG_STENCIL_BOX } DMStagStencilType; ``` ## See Also [](ch_stag), `DMSTAG`, `DMStagCreate1d()`, `DMStagCreate2d()`, `DMStagCreate3d()`, `DMStagStencil`, `DMDAStencilType`, `DMStagStencilLocation` ## Level beginner ## Location include/petscdmstag.h ## Examples src/dm/impls/stag/tutorials/ex1.c
src/dm/impls/stag/tutorials/ex2.c
src/dm/impls/stag/tutorials/ex3.c
src/dm/impls/stag/tutorials/ex4.c
src/dm/impls/stag/tutorials/ex6.c
src/dm/impls/stag/tutorials/ex8.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmstag.h) [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)