:orphan:
# DMDASetNonOverlappingRegion
Sets the indices of the nonoverlapping region of a subdomain `DM`. 
## Synopsis
```
#include "petscdmda.h"   
PetscErrorCode DMDASetNonOverlappingRegion(DM da, PetscInt xs, PetscInt ys, PetscInt zs, PetscInt xm, PetscInt ym, PetscInt zm)
```
Collective


## Input Parameters

- ***da  -*** The `DMDA`
- ***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#DMDASetNonOverlappingRegion">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
