# PCASMSetLocalType
Sets the type of composition used for local problems in the additive Schwarz method, `PCASM`. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCASMSetLocalType(PC pc, PCCompositeType type)
```
Logically Collective on pc


## Input Parameters

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


```none
  PC_COMPOSITE_ADDITIVE       - local additive combination
  PC_COMPOSITE_MULTIPLICATIVE - local multiplicative combination
```



## Options Database Key

- ***-pc_asm_local_type [additive,multiplicative] -*** Sets local solver composition type





## See Also
 `PCASM`, `PCASMSetType()`, `PCASMGetType()`, `PCASMGetLocalType()`, `PCASM`, `PCASMType`, `PCASMSetType()`, `PCASMGetType()`, `PCCompositeType`

## Level
intermediate

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

## Implementations

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


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