[petsc-users] Regarding ksp ex42 - Citations

Lawrence Mitchell lawrence.mitchell at imperial.ac.uk
Thu Jul 21 04:25:19 CDT 2016


[Reintroducing petsc-users in cc]

On 21/07/16 10:18, domenico lahaye wrote:
> Thanks Lauwrence. 
> 
> Does the fact that the coarse level preconditioner M^H should be
> constructed 
> by Galerkin coarse (rather then rediscretization) cause additional
> wrinkles? 

Do you want to rediscretise A, but use a galerkin coarse grid M?

If so, that is currently unsupported in PCMG:  In PCSetUp_MG (mg.c,
line 660 or so):

if (mg->galerkin == 1) {
   /* Currently only handle case where mat and pmat are the same on
coarser levels */
   ...
}

I guess if you're managing the creation of the coarse grid operators
yourself via KSPSetComputeOperators and a putative (new)
DMCreateMatrices then you'd have the flexibility to do separate things
for A and M (including, I think, galerkin coarse M).  Since you have
access to the DM hierarchy inside your compute operators.

Make sense?

Lawrence

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160721/4124bdc3/attachment.pgp>


More information about the petsc-users mailing list