#include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetType(PC pc, PCGAMGType type)Collective on PC
| pc | - the preconditioner context | |
| type | - PCGAMGAGG, PCGAMGGEO, or PCGAMGCLASSICAL |
| -pc_gamg_type <agg,geo,classical> | - type of algebraic multigrid to apply |