[petsc-dev] Differences between injection and interpolation creation

Jed Brown jed at jedbrown.org
Tue Jan 13 12:36:16 CST 2015


Lawrence Mitchell <lawrence.mitchell at imperial.ac.uk> writes:
> Thanks, pull request is here:
> https://bitbucket.org/petsc/petsc/pull-request/245/
>
> There are a few places where the old VecScatter is used with
> INSERT_VALUES, rather than the ADD_VALUES that MatRestrict gives via
> MatMult.  I pull the scatter context out of the injection Mat to do
> this (although this will obviously fail in the case that the Mat is
> not a MatScatter).

Looks good in general; I commented on the PR.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150113/267972b4/attachment.sig>


More information about the petsc-dev mailing list