:orphan: # PCASMGetDMSubdomains Returns flag indicating whether to use `DMCreateDomainDecomposition()` to define the subdomains, whenever possible. ## Synopsis ``` #include "petscpc.h" PetscErrorCode PCASMGetDMSubdomains(PC pc, PetscBool *flg) ``` Not Collective ## Input Parameter - ***pc -*** the preconditioner ## Output Parameter - ***flg -*** boolean indicating whether to use subdomains defined by the `DM` ## See Also `PCASM`, `PCASMSetDMSubdomains()`, `PCASMSetTotalSubdomains()`, `PCASMSetOverlap()` `PCASMCreateSubdomains2D()`, `PCASMSetLocalSubdomains()`, `PCASMGetLocalSubdomains()` ## Level intermediate ## Location 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)