[petsc-users] Extracting parts of DMPLEX mesh

Matthew Knepley knepley at gmail.com
Thu Jun 20 02:26:25 CDT 2019


On Wed, Jun 19, 2019 at 12:31 PM Swarnava Ghosh <swarnava89 at gmail.com>
wrote:

> Hi Matthew and Lawrence,
>
> Thank you for your responses. The second approach involving
> DMPlexDistributeOverlap is viable. However there are two issues: 1) I have
> lots of points to interpolate at and 2) The points are not always in the
> next nearest neighbor process but can extend beyond, so essentially
> creating an overlap that extends beyond the nearest neighbor process may
> not be good idea?
>

Nope, just make a big enough overlap.

   Matt


> Then the earlier approach which I thought was to extract and store the
> mesh locally and create local communicator to communicate the fields needed
> for interpolation. This is a bit of an effort to code, but may be more
> efficient. This step is also a critical part of my algorithm, so I am
> trying to code it efficiently. How can a region of dmplex be extracted and
> stored locally?
>
> Inputs and ideas are always welcome.
>
> Sincerely,
> SG
>


-- 
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/20190620/2c177ae5/attachment.html>


More information about the petsc-users mailing list