[petsc-users] DMLocalToLocal

anton popov at uni-mainz.de
Fri Nov 14 08:39:27 CST 2014


On 11/14/2014 03:37 PM, Matthew Knepley wrote:
> On Fri, Nov 14, 2014 at 8:18 AM, anton <popov at uni-mainz.de 
> <mailto:popov at uni-mainz.de>> wrote:
>
>     Hi,
>
>     can I call DMLocalToLocalBegin\End on the same vector (g and l) in
>     the INSERT_VALUES mode?
>     The motivation is not to create the global buffer vector to be
>     used with DMGlobalToLocalBegin\End.
>     I just need to scatter ghost values to the neighbors.
>
>
> Yes, that should work.
>

That's just great! Thanks Matt.

>   Matt
>
>     Thanks,
>     Anton
>
>
>
>
> -- 
> What most experimenters take for granted before they begin their 
> experiments is infinitely more interesting than any results to which 
> their experiments lead.
> -- Norbert Wiener

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20141114/9a1c5fe0/attachment-0001.html>


More information about the petsc-users mailing list