petsc-3.8.4 2018-03-24
Report Typos and Errors


Sets the number of pre-smoothing steps to use on all levels. Use PCMGGetSmootherDown() to set different pre-smoothing steps on different levels.


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

Input Parameters

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

Options Database Key

-pc_mg_smoothdown <n> -Sets number of pre-smoothing steps

If the number of smoothing steps is changed in this call then the PCMGGetSmoothUp() will be called and now the up smoother will no longer share the same KSP object as the down smoother. Use PCMGSetNumberSmooth() to set the same number of smoothing steps for pre and post smoothing.


MG, smooth, down, pre-smoothing, steps, multigrid

See Also

PCMGSetNumberSmoothUp(), PCMGSetNumberSmooth()

Index of all PCMG routines
Table of Contents for all manual pages
Index of all manual pages