MGSetType

Determines the form of multigrid to use: multiplicative, additive, full, or the Kaskade algorithm.

Synopsis

#include "mg.h" 
int MGSetType(PC pc,MGType form)
Collective on PC

Input Parameters

pc - the preconditioner context
form - multigrid form, one of MGMULTIPLICATIVE, MGADDITIVE, MGFULL, MGKASKADE

Options Database Key

-pc_mg_type <form> -Sets <form>, one of multiplicative, additive, full, kaskade

Keywords

MG, set, method, multiplicative, additive, full, Kaskade, multigrid

See Also

MGSetLevels()

Examples

src/sles/examples/tutorials/ex19.c
src/snes/examples/tutorials/ex16.c

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