# MatPartitioningPartySetGlobal
Set global method for Party partitioner. 
## Synopsis
```
#include "petscmat.h" 
PetscErrorCode MatPartitioningPartySetGlobal(MatPartitioning part, const char *global)
```
Collective


## Input Parameters

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



## Options Database Key

- ***-mat_partitioning_party_global <method> -*** the global method





## Note
The method may be one of `MP_PARTY_OPT`, `MP_PARTY_LIN`, `MP_PARTY_SCA`,
`MP_PARTY_RAN`, `MP_PARTY_GBF`, `MP_PARTY_GCF`, `MP_PARTY_BUB` or `MP_PARTY_DEF`, or
alternatively a string describing the method. Two or more methods can be
combined like "gbf,gcf". Check the Party Library Users Manual for details.


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

## Level
advanced

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/mat/partition/impls/party/party.c.html#MatPartitioningPartySetGlobal_Party">MatPartitioningPartySetGlobal_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)  
