<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Thank you very much for your reply. As a user, if I define a physical group named "right" in Gmsh, I also would like to access it by using this name in DMPlex. It could be convenient and understandable for the user. I think it would be nice if you guys can
add this translation table. Thanks a lot.</p>
<p>Best,</p>
<p>Jian</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Matthew Knepley <knepley@gmail.com><br>
<b>Sent:</b> 27 August 2019 12:47:43<br>
<b>To:</b> Jian Zhang - 3ME<br>
<b>Cc:</b> petsc-users@mcs.anl.gov<br>
<b>Subject:</b> Re: [petsc-users] Questions about the physical groups</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">On Tue, Aug 27, 2019 at 6:22 AM Jian Zhang - 3ME via petsc-users <<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</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 dir="ltr">
<div id="gmail-m_-4742316369210034278divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all,</p>
<p>I have a mesh file where I defined a physical group named "volume" whose id is 0.</p>
<p>For DMPlex, I know that I can use this id (0) to access this physical group. Here I would like to ask that is it possible to use the physical group name "volume" to achieve this in DMPlex. Thank you very much.</p>
<p></p>
</div>
</div>
</blockquote>
<div>Do you mean the $PhysicalNames section in a GMsh file? No, right now we ignore those names. We could maintain a</div>
<div>translation table in the DM between the names and integers, but it seemed to specialized to GMsh. We are willing to</div>
<div>listen to arguments however.</div>
<div><br>
</div>
<div> Thanks,</div>
<div><br>
</div>
<div> Matt </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 id="gmail-m_-4742316369210034278divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Bests,</p>
<p>Jian</p>
</div>
</div>
</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>
</div>
</body>
</html>