<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 12, 2013 at 4:10 PM, Anthony Vergottis <span dir="ltr"><<a href="mailto:a.vergottis@ucl.ac.uk" target="_blank">a.vergottis@ucl.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear All,<div><br></div><div>How does one get the local and global numbers of nodes/elements on each process after the DMPlexDistribute function has been used to partition the mesh (DM object)?</div>
</div></blockquote><div><br></div><div>Can you be more explicit? Vertices and cells are renumbered after distribution to be contiguous on</div><div>each process:</div><div><br></div><div> cell: [0, numCells)</div><div> vertices: [numCells, numCells+numVertices)</div>
<div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Are there any built in PETSc functions that offer such functionality?</div>
<div><br></div><div>Thanks in advance.</div><div><br></div><div>Regards,</div><div>Anthony</div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>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>