#include "petscksp.h" PetscErrorCode PCMGSetNumberSmooth(PC pc,PetscInt n)
Notes: this does not set a value on the coarsest grid, since we assume that there is no separate smooth up on the coarsest grid.