<div dir="ltr">Hi<br><br>I have been working on writing an output of a DMPlex object to interface with an existing code that has some strict requirements. I need each process to output its partition vertices and cell map but also note the point number of the cell on the adjacent processor for the boundary faces. <br><br>I have two different setups I'm pursuing with different challenges. <br><br>1) The DMPlex is distributed with an overlap of 0. This makes the vertex output trivial as only I don't need to worry about the halo vertices. However, to get the cell from the other processor, I have to check the star forest on both processors, figure out the face on the sending processor, then grab its support cell and trade it with the host processor.<br><br><b>If I continue on this path I'd say the question would be, is there an easier way to get the support cell from the adjacent processor when you don't have an overlap?</b><br><br>Right now, what I am doing is getting the RootRanks of the DM SF and the inverse of this SF. I do this because with an overlap of 0, the root dependency only goes one way on the boundaries, and I need to have the cells on each side sent to the opposite processor. <br><br><br>2) The DMPlex has an overlap of 1. This makes grabbing the neighboring cell local point value trivial roots using the support of the faces combined with the SF. But the issue is now outputting only the vertices of the process without messing up the cell maps. <br><br><b>The question here is how are the vertices in the DMPlex organized by default?</b> I have noticed that the leaf vertices are always at the end of the DMPlex stratum.<b> Is this a guaranteed behavior and then within the leaf cells when there is an overlap are they organized in any set way? </b>I'm hoping that for each layer of overlap those leaves are appended. That way I can just take the vertices up until the first halo of vertices. Otherwise, I would search through the list to check if they are in the core partition and output them, and then account for any removed vertex in the cell maps. <br><br>I appreciate the input and help. <br><br>Sincerely<br>Nicholas<br><br><br><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-family:arial;font-size:small"><font color="#000000">Nicholas Arnold-Medabalimi<br><br></font><span style="font-family:sans-serif;font-size:14px">Ph.D. Candidate</span><font color="#000000"><br>Computational Aeroscience Lab<br>University of Michigan</font></div></div></div></div></div></div>