# DMDAGetNonOverlappingRegion
Gets the indices of the nonoverlapping region of a subdomain `DM`. 
## Synopsis
```
#include "petscdmda.h"   
PetscErrorCode DMDAGetNonOverlappingRegion(DM da, PetscInt *xs, PetscInt *ys, PetscInt *zs, PetscInt *xm, PetscInt *ym, PetscInt *zm)
```
Not collective


## Input Parameter

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



## Output Parameters

- ***xs  -*** The start of the region in x
- ***ys  -*** The start of the region in y
- ***zs  -*** The start of the region in z
- ***xs  -*** The size of the region in x
- ***ys  -*** The size of the region in y
- ***zs  -*** The size of the region in z





## See Also
 `DM`, `DMDA`, `DMDAGetOffset()`, `DMDAVecGetArray()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/da/da.c.html#DMDAGetNonOverlappingRegion">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)  
