MGSetLevels
Sets the number of levels to use with MG. Must be called before any other MG routine.
Synopsis
#include "mg.h"
int MGSetLevels(PC pc,int levels)
Collective on PC
Input Parameters
| pc | - the preconditioner context
|
| levels | - the number of levels
|
Notes
If the number of levels is one then the multigrid uses the -mg_fine prefix
for setting the level options rather than the -mg_coarse prefix.
Keywords
MG, set, levels, multigrid
See Also
MGSetType(), MGGetLevels()
Examples
src/sles/examples/tutorials/ex19.c
src/snes/examples/tutorials/ex16.c
Level:intermediate
Location:src/sles/pc/impls/mg/mg.c
PC Index
Table of Contents