This wasn't explained well in the commit message. The old code used the
Galerkin procedure on the "Pmat" (preconditioning matrix; which may or
may not be the same as the Amat) and set the result as both Amat and
Pmat of the coarse grid. The new code allows you to specify. If your
Amat and Pmat
Hi,
I am currently comparing two codes based on PETSc. The first one uses
PETSC 3.6.4 and the other one PETSc 3.10.2.
I am having a look at the use of the function PCMGSetGalerkin(). With
PETSc 3.6, the input is a boolean, while it is either
PC_MG_GALERKIN_MAT, PC_MG_GALERKIN_PMAT or