:orphan: # PCGAMGSetUseParallelCoarseGridSolve allow a parallel coarse grid solver ## Synopsis ``` #include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetUseParallelCoarseGridSolve(PC pc, PetscBool flg) ``` Collective ## Input Parameters - ***pc -*** the preconditioner context - ***flg -*** `PETSC_TRUE` to not force coarse grid onto one processor ## Options Database Key - ***-pc_gamg_use_parallel_coarse_grid_solver -*** use a parallel coarse grid direct solver ## See Also `PCGAMG`, `PCGAMGSetCoarseGridLayoutType()`, `PCGAMGSetCpuPinCoarseGrids()` ## Level intermediate ## Location src/ksp/pc/impls/gamg/gamg.c ## Implementations PCGAMGSetUseParallelCoarseGridSolve_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)