# DMDAGetOverlap
Gets the size of the per-processor overlap. 
## Synopsis
```
#include "petscdmda.h"   
PetscErrorCode DMDAGetOverlap(DM da, PetscInt *x, PetscInt *y, PetscInt *z)
```
Not collective


## Input Parameter

- ***da  -*** The `DMDA`



## Output Parameters

- ***x   -*** Overlap in the x direction
- ***y   -*** Overlap in the y direction
- ***z   -*** Overlap in the z direction





## See Also
 `DM`, `DMDA`, `DMCreateDomainDecomposition()`, `DMDASetOverlap()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/da/da.c.html#DMDAGetOverlap">src/dm/impls/da/da.c</A>


---
[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)  
