:orphan: # 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 src/mat/partition/impls/pmetis/pmetis.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)