#include "petscksp.h" PetscErrorCode PCMGSetNumberSmooth(PC pc,PetscInt n)Logically Collective on PC
mg | - the multigrid context | |
n | - the number of smoothing steps |
-mg_levels_ksp_max_it <n> | - Sets number of pre and post-smoothing steps | |
-pc_mg_smooth_down <n> | - Sets number of pre-smoothing steps (if setting different pre and post amounts) | |
-pc_mg_smooth_up <n> | - Sets number of post-smoothing steps (if setting different pre and post amounts) |
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.
Level:advanced
Location:src/ksp/pc/impls/mg/mg.c
Index of all PCMG routines
Table of Contents for all manual pages
Index of all manual pages