:orphan:
# MatPartitioningViewImbalance
Display partitioning imbalance information. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningViewImbalance(MatPartitioning matp, IS partitioning)
```
Collective


## Input Parameters

- ***matp -*** the matrix partitioning object
- ***partitioning -*** the partitioning. For each local node this tells the processor
number that that node is assigned to.



## Options Database Key

- ***-mat_partitioning_view_balance -*** view the balance information from the last partitioning





## See Also
 [](ch_matrices), `Mat`, `MatPartitioning`, `MatPartitioningType`, `MatPartitioningApply()`, `MatPartitioningView()`

## Level
beginner

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/partition/partition.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)  
