PCGAMGSetCoarseGridLayoutType#
place coarse grids on processors with natural order (compact type)
Synopsis#
#include "petscpc.h"
#include "petscksp.h"
PetscErrorCode PCGAMGSetCoarseGridLayoutType(PC pc, PCGAMGLayoutType flg)
Collective
Input Parameters#
pc - the preconditioner context
flg -
PCGAMGLayoutType
type, eitherPCGAMG_LAYOUT_COMPACT
orPCGAMG_LAYOUT_SPREAD
Options Database Key#
-pc_gamg_coarse_grid_layout_type - place the coarse grids with natural ordering
See Also#
the Users Manual section on PCGAMG, the Users Manual section on PCMG, KSP: Linear System Solvers, PCGAMG
, PCGAMGSetParallelCoarseGridSolve()
, PCGAMGSetCpuPinCoarseGrids()
, PCGAMGLayoutType
, PCGAMG_LAYOUT_COMPACT
, PCGAMG_LAYOUT_SPREAD
Level#
intermediate
Location#
Implementations#
PCGAMGSetCoarseGridLayoutType_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