# MatPartitioningPartySetLocal
Set local method used by the Party partitioner. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningPartySetLocal(MatPartitioning part, const char *local)
```
Collective


## Input Parameters

- ***part -*** the partitioning context
- ***method -*** a string representing the method



## Options Database Key

- ***-mat_partitioning_party_local <method> -*** the local method





## Note
The method may be one of `MP_PARTY_HELPFUL_SETS`, `MP_PARTY_KERNIGHAN_LIN`, or
`MP_PARTY_NONE`. Check the Party Library Users Manual for details.


## See Also
 `MATPARTITIONINGPARTY`, `MatPartitioningPartySetGlobal()`

## Level
advanced

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

## Implementations

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


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