# DMDAGetSubdomainCornersIS
Gets an index set containing the corner indices (in local coordinates) of the non-overlapping decomposition identified by `DMDAGetElements()` 
## Synopsis
```
#include "petscdmda.h"   
PetscErrorCode DMDAGetSubdomainCornersIS(DM dm, IS *is)
```
Not Collective


## Input Parameter

- ***dm -*** the `DMDA` object



## Output Parameters

- ***is -*** the index set





## Note
Call `DMDARestoreSubdomainCornersIS()` once you have finished accessing the index set.


## See Also
 `DM`, `DMDA`, `DMDAElementType`, `DMDASetElementType()`, `DMDAGetElements()`, `DMDARestoreElementsCornersIS()`

## Level
intermediate

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/da/dagetelem.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)  
