:orphan: # PCGAMGASMSetUseAggs Have the `PCGAMG` smoother on each level use the aggregates defined by the coarsening process as the subdomains for the additive Schwarz preconditioner used as the smoother ## Synopsis ``` #include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGASMSetUseAggs(PC pc, PetscBool flg) ``` Collective ## Input Parameters - ***pc -*** the preconditioner context - ***flg -*** `PETSC_TRUE` to use aggregates, `PETSC_FALSE` to not ## Options Database Key - ***-pc_gamg_asm_use_agg -*** use aggregates to define the additive Schwarz subdomains ## See Also `PCGAMG`, `PCASM`, `PCSetType` ## Level intermediate ## Location src/ksp/pc/impls/gamg/gamg.c ## Implementations PCGAMGASMSetUseAggs_GAMG in src/ksp/pc/impls/gamg/gamg.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/gamg/gamg.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)