petsc-3.11.4 2019-09-28
Report Typos and Errors

PCMGSetNumberSmooth

Sets the number of pre and post-smoothing steps to use on all levels. Use PCMGDistinctSmoothUp() to create separate up and down smoothers if you want different numbers of pre- and post-smoothing steps.

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCMGSetNumberSmooth(PC pc,PetscInt n)
Logically Collective on PC

Input Parameters

mg - the multigrid context
n - the number of smoothing steps

Options Database Key

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.

Keywords

MG, smooth, up, post-smoothing, steps, multigrid

See Also

PCMGSetDistinctSmoothUp()

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
-mg_levels_ksp_max_it <n> - Sets number of pre and post-smoothing steps