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
, orPCGAMGCLASSICAL
Options Database Key#
-pc_gamg_type <agg,geo,classical> - type of algebraic multigrid to apply - only agg supported
See Also#
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