#include "petscpc.h" #include "petscksp.h" PetscErrorCode PCGAMGSetRankReductionFactors(PC pc, PetscInt v[], PetscInt n)Collective on PC
pc | - the preconditioner context | |
v | - array of reduction factors. 0 for fist value forces a reduction to one process/device on first level in Cuda | |
n | - number of values provided in array |
-pc_gamg_rank_reduction_factors <factors> | - provide the schedule |