PCGAMGSetType#
Set the type of algorithm PCGAMG should use
Synopsis#
#include "petscpc.h" 
#include "petscksp.h" 
PetscErrorCode PCGAMGSetType(PC pc, PCGAMGType type)
Collective
Input Parameters#
- pc - the preconditioner context 
- type - - PCGAMGAGG,- PCGAMGGEO, or- PCGAMGCLASSICAL
Options Database Key#
- -pc_gamg_type <agg,geo,classical> - type of algebraic multigrid to apply - only agg is supported 
See Also#
the Users Manual section on PCGAMG, the Users Manual section on PCMG, KSP: Linear System Solvers, PCGAMGGetType(), PCGAMG, PCGAMGType
Level#
intermediate
Location#
Implementations#
PCGAMGSetType_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