# MatPartitioningParmetisSetRepartition
Repartition current mesh to rebalance computation. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningParmetisSetRepartition(MatPartitioning part)
```
Logically Collective


## Input Parameter

- ***part -*** the partitioning context





## See Also
 `MATPARTITIONINGPARMETIS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/pmetis/pmetis.c.html#MatPartitioningParmetisSetRepartition">src/mat/partition/impls/pmetis/pmetis.c</A>


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


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