# MatNestGetLocalISs
Returns the index sets partitioning the row and column spaces of a `MATNEST` 
## Synopsis
```
#include "petscmat.h"   
PetscErrorCode MatNestGetLocalISs(Mat A, IS rows[], IS cols[])
```
Not collective


## Input Parameter

- ***A  -*** `MATNEST` matrix



## Output Parameters

- ***rows -*** array of row index sets (or NULL to ignore)
- ***cols -*** array of column index sets (or NULL to ignore)





## Note
The user must have allocated arrays of the correct size. The reference count is not increased on the returned ISs.


## See Also
 `MATNEST`, `MatNestGetSubMat()`, `MatNestGetSubMats()`, `MatNestGetSize()`, `MatNestGetISs()`, `MatCreateNest()`,
`MATNEST`, `MatNestSetSubMats()`, `MatNestSetSubMat()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/nest/matnest.c.html#MatNestGetLocalISs">src/mat/impls/nest/matnest.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/impls/nest/matnest.c.html#MatNestGetLocalISs_Nest">MatNestGetLocalISs_Nest in src/mat/impls/nest/matnest.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/nest/matnest.c)


[Index of all Mat routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
