#include "petscksp.h" PetscErrorCode PCMGSetAdaptInterpolation(PC pc, PetscBool adapt)Logically Collective on PC
pc | - the multigrid context | |
adapt | - flag for adaptation of the interpolator |
-pc_mg_adapt_interp | - Turn on adaptation | |
-pc_mg_adapt_interp_n <int> | - The number of modes to use, should be divisible by dimension | |
-pc_mg_adapt_interp_coarse_space <type> | - The type of coarse space: polynomial, harmonic, eigenvector, generalized_eigenvector |