petsc-3.7.1 2016-05-15
Report Typos and Errors

PCGAMG

Geometric algebraic multigrid (AMG) preconditioner

Options Database Keys

Multigrid options(inherited) Many br
-pc_mg_cycles <v>: v or w (PCMGSetCycleType())- . -pc_mg_smoothup <1>: Number of post-smoothing steps (PCMGSetNumberSmoothUp) Many br
-pc_mg_smoothdown <1>: Number of pre- smoothing steps (PCMGSetNumberSmoothDown) Many br
-pc_mg_type <multiplicative>: (one of) additive multiplicative full kascade- Many br

Notes: In order to obtain good performance for PCGAMG for vector valued problems you must Many br

      Call MatSetBlockSize() to indicate the number of degrees of freedom per grid point
      Call MatSetNearNullSpace() (or PCSetCoordinates() if solving the equations of elasticity) to indicate the near null space of the operator
      See the Users Manual Chapter 4 for more details

Many br

See Also

PCCreate(), PCSetType(), MatSetBlockSize(), PCMGType, PCSetCoordinates(), MatSetNearNullSpace(), PCGAMGSetType(), PCGAMGAGG, PCGAMGGEO, PCGAMGCLASSICAL, PCGAMGSetProcEqLim(),
PCGAMGSetCoarseEqLim(), PCGAMGSetRepartitioning(), PCGAMGRegister(), PCGAMGSetReuseInterpolation(), PCGAMGSetUseASMAggs(), PCGAMGSetNlevels(), PCGAMGSetThreshold(), PCGAMGGetType() Many br

Level:intermediate
Location:
src/ksp/pc/impls/gamg/gamg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages