MGSetLevels

Sets the number of levels to use with MG. Must be called before any other MG routine.

Synopsis

int MGSetLevels(PC pc,int levels)
Collective on PC

Input Parameters

pc - the preconditioner context
levels - the number of levels

Keywords

MG, set, levels, multigrid

See Also

MGSetType(), MGGetLevels()

Examples

src/gvec/examples/tutorials/ex2.c
src/gvec/examples/tutorials/ex4.c
src/gvec/examples/tutorials/ex6.c

Location: src/pc/impls/mg/mg.c
PC Index
Table of Contents