:orphan: # 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; ``` ## Values - ***`MAT_DO_NOT_GET_VALUES` -*** do not copy the matrix values - ***`MAT_GET_VALUES` -*** copy the matrix values ## Developer Note Why is not just a boolean used for this information? ## See Also [](ch_matrices), `Mat`, `MatDuplicateOption`, `PetscCopyMode`, `MatGetSeqNonzeroStructure()` ## Level developer ## Location include/petscmat.h --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)