# PCPARMSSetGlobal
Sets the global preconditioner to be used in `PCPARMS`. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCPARMSSetGlobal(PC pc, PCPARMSGlobalType type)
```
Collective


## Input Parameters

- ***pc -*** the preconditioner context
- ***type -*** the global preconditioner type, one of


```none
     PC_PARMS_GLOBAL_RAS   - Restricted additive Schwarz
     PC_PARMS_GLOBAL_SCHUR - Schur complement
     PC_PARMS_GLOBAL_BJ    - Block Jacobi
```



## Options Database Key

- ***-pc_parms_global [ras,schur,bj] -*** Sets global preconditioner





## Note
See the pARMS function `parms_PCSetType()` for more information.


## See Also
 `PCPARMS`, `PCPARMSSetLocal()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/parms/parms.c.html#PCPARMSSetGlobal">src/ksp/pc/impls/parms/parms.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/parms/parms.c.html#PCPARMSSetGlobal_PARMS">PCPARMSSetGlobal_PARMS in src/ksp/pc/impls/parms/parms.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/parms/parms.c)


[Index of all PC routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
