<div dir="ltr"><div><div>Hello,<br></div>         I am using the gmsh 2.7.1 source code to create a mesh using GModel. I find that GModel.witeMSH("fileName") writes a mesh where the physical region numbering:<br>
<br><pre class="">     $PhysicalNames
     <var>number-of-names</var>
     <var>physical-dimension</var> <var>physical-number</var> "<var>physical-name</var>"
     ...
     $EndPhysicalNames</pre>has a physical-number which starts at 0 for each physical dimension.<br><br>When i create the same mesh using gui interface to gmsh (2.4.2 and 2.6.1) i get the physicalNames section with continuous numbering for the physical regions irrespective of its physical dimension.<br>
<br></div><div>Is this an expected behavior ? What should i do to get continuous numbering when i created the mesh using gmsh library.  I have mesh reader for gmsh msh file which expects a continuous numbering for the regions. <br>
<br></div><div>Thanks<br>Reddy<br></div><div><div><div><br><div><div><br>-- <br>-----------------------------------------------------<br>Dharmendar Reddy Palle<br>Graduate Student<br>Microelectronics Research center,<br>University of Texas at Austin,<br>
10100 Burnet Road, Bldg. 160<br>MER 2.608F, TX 78758-4445<br>e-mail: <a href="mailto:dharmareddy84@gmail.com" target="_blank">dharmareddy84@gmail.com</a><br>Phone: +1-512-350-9082<br>United States of America.<br>Homepage: <a href="https://webspace.utexas.edu/~dpr342" target="_blank">https://webspace.utexas.edu/~dpr342</a><br>

</div></div></div></div></div></div>