#include "petscmg.h" PetscErrorCode MGSetNumberSmoothUp(PC pc,PetscInt n)Collective on PC
mg | - the multigrid context | |
n | - the number of smoothing steps |
Note: this does not set a value on the coarsest grid, since we assume that there is no seperate smooth up on the coarsest grid. If you want to have a seperate smooth up on the coarsest grid then call MGGetSmoothUp(pc,0,&ksp);
Level:advanced
Location:src/ksp/pc/impls/mg/mg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages