PCMGGetGalerkin#

Checks if Galerkin multigrid is being used, i.e. \(A_{i-1} = r_i * A_i * p_i\).

Synopsis#

#include "petscksp.h" 
PetscErrorCode PCMGGetGalerkin(PC pc, PCMGGalerkinType *galerkin)

Not Collective

Input Parameter#

  • pc - the multigrid context

Output Parameter#

See Also#

KSP: Linear System Solvers, PCMG, PCMGSetGalerkin(), PCMGGalerkinType, PC_MG_GALERKIN_BOTH, PC_MG_GALERKIN_PMAT, PC_MG_GALERKIN_MAT, PC_MG_GALERKIN_NONE, PC_MG_GALERKIN_EXTERNAL

Level#

intermediate

Location#

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


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