PCGAMGASMSetUseAggs#
Have the PCGAMG smoother on each level use PCASM where the aggregates defined by the coarsening process are 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_TRUEto use aggregates,- PETSC_FALSEto not
Options Database Key#
- -pc_gamg_asm_use_agg <true,false> - use aggregates to define the additive Schwarz subdomains 
Note#
This option automatically sets the preconditioner on the levels to be PCASM.
See Also#
the Users Manual section on PCGAMG, the Users Manual section on PCMG, KSP: Linear System Solvers, PCGAMG, PCASM, PCSetType
Level#
intermediate
Location#
Implementations#
PCGAMGASMSetUseAggs_GAMG() in src/ksp/pc/impls/gamg/gamg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages