<div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Developers,<br clear="all"><div><br></div><div>I am trying to use the new Gmsh API with SDK to build applications, and I found it is very handy. Thank you for providing such a good tool. Now, I am working on mechanics of composite materials, and very often, I need to get information about the physical group of each element as different materials are assigned to different regions. I notice the V4 mesh format arranges the elements in order of the physical groups, but how can I get such information using API? I also notice the current API provides "getNodesForPhysicalGroup", so I would expect some functions like "getElementsForPhysicalGroup" or better "getPhysicalGroupForElements" which takes input elementID and returns PhysicalGroupID.</div><div><br></div><div>Thanks</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:12pt;color:rgb(0,0,0)"><font size="2"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">======================================</span></span></span></span></span></font></div><font size="2" style="font-size:12pt">
</font><div style="font-size:12pt;color:rgb(0,0,0)"><font size="4"><span style="font-family:"arial black",arial,helvetica,sans-serif"><span style="font-family:"arial black",arial,helvetica,sans-serif"><span style="font-family:"arial black",arial,helvetica,sans-serif"><span style="font-family:"arial black",arial,helvetica,sans-serif"><span style="font-family:"arial black",arial,helvetica,sans-serif"><span style="font-family:"arial black",arial,helvetica,sans-serif">Xin
 Liu</span></span></span></span></span></span></font></div><font size="2" style="font-size:12pt">
</font><div style="color:rgb(0,0,0)"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">
<div style="margin-top:0px;margin-bottom:0px"><font size="2" style=""><span style="font-family:georgia,serif;background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">PhD
 Candidate, Graduate Research Assistant</span></span></span></span></span></font></div><font size="2" style="">
</font><div style="margin-top:0px;margin-bottom:0px"><span><span style="color:rgb(33,33,33);font-family:georgia,serif;background-color:rgb(255,255,255)"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">Multiscale
 Structural Mechanics Group</span></span></span></span></span></span></div><font size="2" style="">

</font><div style="margin-top:0px;margin-bottom:0px"><span><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">School of Aeronautics
 & Astronautics</span></span></span></span><br style="font-family:georgia,serif">
</span></div><font size="2" style="">
</font><div style="margin-top:0px;margin-bottom:0px"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">Pu<span style="color:rgb(0,0,0)">rdue
 University</span></span></span></span></span></div>
</span></span></span></span></span></div><font size="2" style="font-size:12pt">
</font><div style="font-size:12pt;color:rgb(0,0,0)"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif"><span style="font-family:georgia,serif">======================================</span></span></span></span></span></div>
</div></div></div></div></div></div>