# MatPartitioningPTScotchGetImbalance
Gets the value of the load imbalance ratio used during strategy selection. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningPTScotchGetImbalance(MatPartitioning part, PetscReal *imb)
```
Not Collective


## Input Parameter

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



## Output Parameter

- ***imb  -*** the load imbalance ratio





## See Also
 `MATPARTITIONINGSCOTCH`, `MatPartitioningPTScotchSetImbalance()`

## Level
advanced

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/scotch/scotch.c.html#MatPartitioningPTScotchGetImbalance_PTScotch">MatPartitioningPTScotchGetImbalance_PTScotch in src/mat/partition/impls/scotch/scotch.c</A><BR>


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