# MatCreateSubMatrixOption
Indicates if matrices obtained from a call to MatCreateSubMatrices() include the matrix values. Currently it is only used by MatGetSeqNonzeroStructure(). 
## Synopsis
```
typedef enum {
  MAT_DO_NOT_GET_VALUES,
  MAT_GET_VALUES
} MatCreateSubMatrixOption;
```



## See Also
 `MatGetSeqNonzeroStructure()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscmat.h.html#MatCreateSubMatrixOption">include/petscmat.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscmat.h)


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