I just started using gmsh for 2D triangulations and I'm observing that both the nodes and elements are being outputted in ascending order (consecutively). This is good as it makes reading the data easier but I want to know if this is always the case.
Secondly, I also observed that the physical-line boundaries are outputted as elements with two nodes (line-elements in a 2D triangular mesh). I have also figured out that the actual elements (triangles) are listed after these line-elements. This then means that the true number of triangles (elements) in the mesh is the number of elements oputputted in the mesh file less the number of line-elements. Kindly let me know if this is the correct idea.
Thanks in anticipation.