# PetscPartitionerMatPartitioningGetMatPartitioning
Get a MatPartitioning instance wrapped by this PetscPartitioner. 
## Synopsis
```
#include "petscpartitioner.h"   
PetscErrorCode PetscPartitionerMatPartitioningGetMatPartitioning(PetscPartitioner part, MatPartitioning *mp)
```
Not Collective


## Input Parameters

- ***part     -*** The PetscPartitioner



## Output Parameters

- ***mp       -*** The MatPartitioning





## See Also
`DMPlexDistribute()`, `PetscPartitionerCreate()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/partitioner/impls/matpart/partmatpart.c.html#PetscPartitionerMatPartitioningGetMatPartitioning">src/dm/partitioner/impls/matpart/partmatpart.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/partitioner/impls/matpart/partmatpart.c.html#PetscPartitionerMatPartitioningGetMatPartitioning_MatPartitioning">PetscPartitionerMatPartitioningGetMatPartitioning_MatPartitioning in src/dm/partitioner/impls/matpart/partmatpart.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/partitioner/impls/matpart/partmatpart.c)


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