[petsc-users] KSPSetDM problem

Jed Brown jedbrown at mcs.anl.gov
Fri Nov 15 17:49:56 CST 2013


Michele Rosso <mrosso at uci.edu> writes:

> Barry,
>
> thank you.
> I have another question: how does petsc compute the restriction 
> (assuming  the user does not supply his own restriction)?
> Does it use a simple transpose of the interpolation operator? 

Yes, it uses the same.

> Could you point me to the source code where this is done?

See the implementation of PCMGGetInterpolation and PCMGGetRestriction.
If you only provide one, the other will use it.
-------------- 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/20131115/8291340f/attachment.pgp>


More information about the petsc-users mailing list