:orphan:
# DMDASetOverlap
Sets the size of the per-processor overlap.
## Synopsis
```
#include "petscdmda.h"
PetscErrorCode DMDASetOverlap(DM da, PetscInt x, PetscInt y, PetscInt z)
```
Not Collective
## Input Parameters
- ***da -*** The `DMDA`
- ***x -*** Overlap in the x direction
- ***y -*** Overlap in the y direction
- ***z -*** Overlap in the z direction
## See Also
`DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDAGetOverlap()`
## Level
intermediate
## Location
src/dm/impls/da/da.c
## Examples
src/dm/tutorials/ex19.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)