PCMGGetLevels

Gets the number of levels to use with MG.

Synopsis

#include "petscksp.h" 
PetscErrorCode PCMGGetLevels(PC pc,PetscInt *levels)
Not Collective

Input Parameter

pc - the preconditioner context

Output parameter

levels - the number of levels

Level: advanced

See Also

PCMGSetLevels()

Location:mg.c