:orphan: # MatPartitioning Object for managing the partitioning of a matrix or graph ## Synopsis ``` typedef struct _p_MatPartitioning *MatPartitioning; ``` ## Note There is also a `PetscPartitioner` object that provides the same functionality. It can utilize the `MatPartitioning` operations via `PetscPartitionerSetType`(p,`PETSCPARTITIONERMATPARTITIONING`) ## Developers Note It is an extra maintenance and documentation cost to have two objects with the same functionality. `PetscPartitioner` should be removed ## See Also [](ch_matrices), [](sec_graph), `Mat`, `MatPartitioningCreate()`, `MatPartitioningType`, `MatColoring`, `MatGetOrdering()`, `MatOrderingType`, `MatCoarsenType`, `MatCoarsenType` ## Level beginner ## Location include/petscmat.h ## Implementations _p_MatPartitioning in include/petsc/private/matimpl.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)