# DMDASetStencilWidth Sets the width of the communication stencil ## Synopsis ``` #include "petscdmda.h" PetscErrorCode DMDASetStencilWidth(DM da, PetscInt width) ``` Logically Collective on da ## Input Parameters - ***da -*** The `DMDA` - ***width -*** The stencil width ## See Also `DM`, `DMDA`, `DMDACreate()`, `DMDestroy()` ## Level intermediate ## Location src/dm/impls/da/da.c ## Examples src/dm/tutorials/ex19.c.html
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/da/da.c) [Index of all DMDA routines](index.md) [Table of Contents for all manual pages](/docs/manualpages/index.md) [Index of all manual pages](/docs/manualpages/singleindex.md)