PCDMMGSetDM

Sets the coarsest DM that is to be used to define the interpolation/restriction for the multigrid preconditioner.

Synopsis

#include "petscmg.h" 
#include "petscda.h" 
PetscErrorCode PCDMMGSetDM(PC pc,DM dm)
Not Collective

Input Parameter

pc - the preconditioner context
dm - the coarsest dm

Keywords

MG, get, levels, multigrid

See Also

PCMG, PCMGSetLevels()

Level:intermediate
Location:
src/ksp/pc/impls/mg/dmmg/pcdmmg.c
Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages