# MatPartitioningParmetisGetEdgeCut
Returns the number of edge cuts in the vertex partition. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningParmetisGetEdgeCut(MatPartitioning part, PetscInt *cut)
```

## Input Parameter

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



## Output Parameter

- ***cut -*** the edge cut





## See Also
 `MATPARTITIONINGPARMETIS`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/pmetis/pmetis.c.html#MatPartitioningParmetisGetEdgeCut">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)  
