MGGetSmoother

Gets the SLES context to be used as smoother for both pre- and post-smoothing. Call both MGGetSmootherUp() and MGGetSmootherDown() to use different functions for pre- and post-smoothing.

Synopsis

#include "petscsles.h" 
#include "petscmg.h"   
int MGGetSmoother(PC pc,int l,SLES *sles)
Not Collective, SLES returned is parallel if PC is

Input Parameters

pc - the multigrid context
l - the level to supply

Ouput Parameters

sles -the smoother

Keywords

MG, get, multigrid, level, smoother, pre-smoother, post-smoother

See Also

MGGetSmootherUp(), MGGetSmootherDown()

Level:advanced
Location:
src/sles/pc/impls/mg/mgfunc.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex24.c.html
src/snes/examples/tutorials/ex29.c.html