PCMGSetAdaptCoarseSpaceType#

Set the type of adaptive coarse space. Adapts or creates the interpolator based upon a vector space which should be accurately captured by the next coarser mesh, and thus accurately interpolated.

Synopsis#

Logically Collective

Input Parameters#

  • pc - the multigrid context

  • ctype - the type of coarse space

Options Database Keys#

  • -pc_mg_adapt_interp_n nmodes - The number of modes to use

  • -pc_mg_adapt_interp_coarse_space (none|polynomial|harmonic|eigenvector|generalized_eigenvector|gdsw) - The type of coarse space to use

Note#

Requires a DM with specific functionality be attached to the PC.

Developer Notes#

The options database key -pc_mg_adapt_interp_coarse_space should not have interp in it since this function does not have interp in it.

The options database key -pc_mg_adapt_interp_n has no functional call equivalent.

See Also#

KSP: Linear System Solvers, PCMG, PCMGCoarseSpaceType, PCMGGetAdaptCoarseSpaceType(), PCMGSetGalerkin(), PCMGSetAdaptInterpolation(), DM, PCMG_ADAPT_NONE, PCMG_ADAPT_POLYNOMIAL, PCMG_ADAPT_HARMONIC, PCMG_ADAPT_EIGENVECTOR, PCMG_ADAPT_GENERALIZED_EIGENVECTOR, PCMG_ADAPT_GDSW

Level#

intermediate

Location#

src/ksp/pc/impls/mg/mg.c

Implementations#

PCMGSetAdaptCoarseSpaceType_MG() in src/ksp/pc/impls/mg/mg.c


Index of all PC routines
Table of Contents for all manual pages
Index of all manual pages