[petsc-users] Galerkin multigrid coarsening

Jed Brown jed at jedbrown.org
Thu Jan 30 10:45:31 CST 2014


Boris Kaus <kaus at uni-mainz.de> writes:

> While doing multigrid it is possible to explicitly set restriction and
> prolongation/interpolation operators in PETSC using PCMGSetRestriction
> and PCMGSetInterpolation.  In many cases, the restriction (R) and
> prolongation (P) operators are simply the transpose of each other
> (R=P’).
>
> Yet, in certain cases, for example variable viscosity Stokes with a
> staggered finite difference discretization, it is advantageous if they
> are different (see http://arxiv.org/pdf/1308.4605.pdf).
>
> Accordding to the Wesseling textbook, Galerkin coarsening of the fine
> grid matrix is defined as:
>
> Acoarse = R*A*P
>
> Yet, as far as I can tell, PETSc seems to implement this as:
>
> Acoarse = R*A*R’

Certainly, the code just had an outdated assumption.  I think I have
added support for this (it does R*A*P when R!=P), but I don't have a
test case readily available.  Could you try branch
'jed/pcmg-galerkin-rap' (if you were using v3.4/maint) or 'next' if
you've been tracking petsc-dev?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20140130/2a3e06a2/attachment.pgp>


More information about the petsc-users mailing list