<div dir="ltr"><div>Here you have the following "points":<br></div><div><br></div><div>- 1 3-cell (the cube volume)<br></div><div>- 7 2-cells (the 6 faces of the cube plus the extra one)</div><div>- 16 1-cells  (the 12 edges of the cube, plus 3 extra ones from the extra face, plus the extra edge)</div><div>- 11 0-cells (the 8 vertices of the cube, pus 2 extra ones from the extra face, plus the extra vertex)</div><div><br></div><div>You could encode your mesh as here, by directly specifying relationships between these points in the Hasse diagram:<br></div><div><a href="https://petsc.org/release/docs/manual/dmplex/#representing-unstructured-grids">https://petsc.org/release/docs/manual/dmplex/#representing-unstructured-grids</a></div><div><br></div><div>Then, maybe the special relation is captured because you've defined the "cone" or "support" for each "point", which tells you about the local topology everywhere. E.g. to take the simpler case, three of the faces have the yellow edge in their "cone", or equivalently the yellow edge has those three faces in its "support".  <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Fr., 10. Dez. 2021 um 17:04 Uhr schrieb TARDIEU Nicolas via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Dear PETSc Team,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Following a previous discussion on the mailing list, I'd like to experiment with DMPLEX with a very simple non-manifold mesh as shown in the attached picture : a cube connected to a square by an edge and to an edge by a point.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have read some of the papers that Matthew et al. have written, but I must admit that I do not see how to start...</div>
<div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I see how the define the different elements but I do not see how to specify the special relationship between the cube and the square and between the cube and the edge.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Once it will have been set correctly, what I am hoping is to be able to use all the nice features of the DMPLEX object.</div>
<div id="gmail-m_-3017333470027177023Signature">
<div name="divtagdefaultwrapper">
<div style="margin:0px"><font size="3" face="Calibri,sans-serif"><br>
</font></div>
<font size="3"></font>
<div style="margin:0px"><font size="3" face="Calibri,sans-serif">Best regards, </font>
</div>
<font size="3"></font>
<div style="margin:0px"><font face="Calibri,sans-serif"><font size="3">Nicolas</font></font></div>
</div>
</div>
</div>
<p></p>

<p><br>
Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à l'intention exclusive des destinataires et les informations qui y figurent sont strictement confidentielles. Toute utilisation de ce Message non conforme à sa destination, toute diffusion ou toute publication totale ou partielle, est interdite sauf autorisation expresse.</p>

<p>Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si vous avez reçu ce Message par erreur, merci de le supprimer de votre système, ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support que ce soit. Nous vous remercions également d'en avertir immédiatement l'expéditeur par retour du message.</p>

<p>Il est impossible de garantir que les communications par messagerie électronique arrivent en temps utile, sont sécurisées ou dénuées de toute erreur ou virus.<br>
____________________________________________________</p>

<p>This message and any attachments (the 'Message') are intended solely for the addressees. The information contained in this Message is confidential. Any use of information contained in this Message not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval.</p>

<p>If you are not the addressee, you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return message.</p>

<p>E-mail communication cannot be guaranteed to be timely secure, error or virus-free.</p></div>

</blockquote></div>