#include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetCpuPinCoarseGrids(PC pc, PetscBool flg)Collective on PC
| pc | - the preconditioner context | |
| flg | - PETSC_TRUE to pin coarse grids to CPU |
| -pc_gamg_cpu_pin_coarse_grids | - pin the coarse grids to the CPU |