PCGAMGSetRepartition#

Repartition the degrees of freedom across the processors on the coarser grids when reducing the number of MPI ranks to use

Synopsis#

#include "petscpc.h" 
#include "petscksp.h" 
PetscErrorCode PCGAMGSetRepartition(PC pc, PetscBool n)

Collective

Input Parameters#

Options Database Key#

  • -pc_gamg_repartition <true,false> - turn on the repartitioning

Note#

This will generally improve the loading balancing of the work on each level

See Also#

PCGAMG, PCGAMGSetProcEqLim(), PCGAMGSetRankReductionFactors()

Level#

intermediate

Location#

src/ksp/pc/impls/gamg/gamg.c

Implementations#

PCGAMGSetRepartition_GAMG in src/ksp/pc/impls/gamg/gamg.c


Edit on GitLab

Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages