<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
On 2024-08-01 09: 24, Matthew Knepley wrote: On Thu, Aug 1, 2024 at 8: 23 AM Eric Chamberland <Eric. Chamberland@ giref. ulaval. ca> wrote: Hi Matthew, we have our own format that uses MPI I/O for the initial read, then we would like to do
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannervdsojj8" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannervdsojj8" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannervdsojj8" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannervdsojj8" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannervdsojj8 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonvdsojj8:hover, .pfptPrimaryButtonvdsojj8:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonvdsojj8:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 2024-08-01 09:24, Matthew Knepley
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAMYG4GkDQT6_HfFMcpEDuw7QoLrC=pvWzLA-cZsntbewYgUcCw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">On Thu, Aug 1, 2024 at 8:23 AM Eric Chamberland
<<a href="mailto:Eric.Chamberland@giref.ulaval.ca"
moz-do-not-send="true" class="moz-txt-link-freetext">Eric.Chamberland@giref.ulaval.ca</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">
<div>
<p>Hi Matthew,</p>
<p>we have our own format that uses MPI I/O for the
initial read, then we would like to do almost exactly
what we do in ex47.c (<a href="https://urldefense.us/v3/__https://petsc.org/main/src/dm/impls/plex/tests/ex47.c.html__;!!G_uCfscf7eWS!Yl2BQr5WaJV41Sq7-i2xoMTi_ZGsBeThe3GPDdLjQmRtNXOdQJKpIg1Ec8-av5NcnywNIyr2D9ew6B-O8jC5ICPpWzcZ0mNNE3n3bYIy$" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://petsc.org/main/src/dm/impls/plex/tests/ex47.c.html</a>)
excepted the very beginning of the program that will
read (MPI I/O) from the disk. Then, always in parallel:<br>
</p>
<p>1- Populate a DMPlex with multiple element types (with
a variant of DMPlexBuildFromCellListParallel ? do you
have an example of this?)<br>
</p>
...<br>
</div>
</blockquote>
<div>We can do that. We only need to change step 1. I will put
it on my TODO list. My thinking is the same as Vaclav,
namely to replace numCorners with a PetscSection
describing the cells[] array. Will that work for you?</div>
<br>
</div>
</div>
</blockquote>
<p>Hi Matthew,</p>
<p>That sounds fine for me! I can create a mixed mesh partition
description so we add it to ex47.c...</p>
<p>I'll ping @you in a MR for that... </p>
<p>thanks a lot!</p>
<p>Eric</p>
<p><br>
</p>
</body>
</html>