:orphan: # PCGAMGSetProcEqLim Set number of equations to aim for per process on the coarse grids via processor reduction in `PCGAMG` ## Synopsis ``` #include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetProcEqLim(PC pc, PetscInt n) ``` Logically Collective ## Input Parameters - ***pc -*** the preconditioner context - ***n -*** the number of equations ## Options Database Key - ***-pc_gamg_process_eq_limit -*** set the limit ## Note `PCGAMG` will reduce the number of MPI processes used directly on the coarse grids so that there are around equations on each process that has degrees of freedom ## See Also `PCGAMG`, `PCGAMGSetCoarseEqLim()`, `PCGAMGSetRankReductionFactors()`, `PCGAMGSetRepartition()` ## Level intermediate ## Location src/ksp/pc/impls/gamg/gamg.c ## Implementations PCGAMGSetProcEqLim_GAMG in src/ksp/pc/impls/gamg/gamg.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/pc/impls/gamg/gamg.c) [Index of all PC routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)