:orphan: # 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 src/ksp/pc/impls/asm/asm.c ## Implementations PCASMGetSubMatType_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)