:orphan:
# PCASMGetLocalType
Gets the type of composition used for local problems in the additive Schwarz method, `PCASM`.
## Synopsis
```
#include "petscpc.h"
PetscErrorCode PCASMGetLocalType(PC pc, PCCompositeType *type)
```
Logically Collective
## Input Parameter
- ***pc -*** the preconditioner context
## Output Parameter
- ***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()`, `PCASMSetLocalType()`, `PCASMCreate()`, `PCASMType`, `PCASMSetType()`, `PCASMGetType()`, `PCCompositeType`
## Level
intermediate
## Location
src/ksp/pc/impls/asm/asm.c
## Implementations
PCASMGetLocalType_ASM in src/ksp/pc/impls/asm/asm.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)