PCMGSetType

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

Synopsis

#include "petscksp.h" 
PetscErrorCode  PCMGSetType(PC pc,PCMGType form)
Logically Collective on PC

Input Parameters

pc - the preconditioner context
form - multigrid form, one of PC_MG_MULTIPLICATIVE, PC_MG_ADDITIVE, PC_MG_FULL, PC_MG_KASKADE

Options Database Key

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

Level: advanced

See Also

PCMGSetLevels()

Location:mg.c