# PCASMGetSubMatType
Gets the matrix type used for `PCASM` subsolves, as a string. 
## Synopsis
```
#include "petscpc.h" 
PetscErrorCode PCASMGetSubMatType(PC pc, MatType *sub_mat_type)
```
Not Collective


## Input Parameter

- ***pc -*** the `PC`



## Output Parameter

- ***pc_asm_sub_mat_type -*** name of matrix type





## See Also
 `PCASM`, `PCASMSetSubMatType()`, `PCASM`, `PCSetType()`, `VecSetType()`, `MatType`, `Mat`

## Level
advanced

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/pc/impls/asm/asm.c.html#PCASMGetSubMatType_ASM">PCASMGetSubMatType_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)  
