[petsc-users] DMLocalToLocal for DMPlex

Matthew Knepley knepley at gmail.com
Fri Aug 30 06:30:43 CDT 2019


On Fri, Aug 30, 2019 at 12:11 AM Adrian Croucher via petsc-users <
petsc-users at mcs.anl.gov> wrote:

> hi
>
> If I have a local vector and I want to update all its ghost values from
> its non-ghost values, should I use DMLocalToLocalBegin()/End() ?
>
> I have tried it and it gives me an error: "This DM does not support
> local to local maps".
>
> The DM is a DMPlex. Is the local-to-local operation not implemented for
> DMPlex?
>

Yes, I did not write a direct L2L. Everything must go through L2G->G2L.
If its a bottleneck, we could add it.

  Thanks,

      Matt


> Or should I be using something else to do this?
>
> - Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
>

-- 
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

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20190830/e91a66da/attachment.html>


More information about the petsc-users mailing list