<div dir="ltr"><div dir="ltr">On Sat, Mar 27, 2021 at 9:27 AM Nicolas Barral <<a href="mailto:nicolas.barral@math.u-bordeaux.fr">nicolas.barral@math.u-bordeaux.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br></blockquote><div><br></div><div>I promise to read this today. While I am doing that, I have a branch</div><div><br></div><div>  <a href="https://gitlab.com/petsc/petsc/-/commits/knepley/feature-plex-vertex-mapping">https://gitlab.com/petsc/petsc/-/commits/knepley/feature-plex-vertex-mapping</a></div><div><br></div><div>which I think does the face labeling you want, but I have not tested it yet.</div><div><br></div><div>  Thanks,</div><div><br></div><div>    Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
First, I'm not sure I understand what the overlap parameter in <br>
DMPlexDistributeOverlap does. I tried the following: generate a small <br>
mesh on 1 rank with DMPlexCreateBoxMesh, then distribute it with <br>
DMPlexDistribute. At this point I have two nice partitions, with shared <br>
vertices and no overlapping cells. Then I call DMPlexDistributeOverlap <br>
with the overlap parameter set to 0 or 1, and get the same resulting <br>
plex in both cases. Why is that ?<br>
<br>
Second, I'm wondering what would be a good way to handle two overlaps <br>
and associated local vectors. In my adaptation code, the remeshing <br>
library requires a non-overlapping mesh, while the refinement criterion <br>
computation is based on hessian computations, which require a layer of <br>
overlap. What I can do is clone the dm before distributing the overlap, <br>
then manage two independent plex objects with their own local sections <br>
etc. and copy/trim local vectors manually. Is there a more automatic way <br>
to do this ?<br>
<br>
Thanks<br>
<br>
-- <br>
Nicolas<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>