[Gmsh] Msh-file element type sequence

Benjamin Isbarn babene88 at googlemail.com
Mon Feb 29 16:31:09 CET 2016


Hi,

I'm wondering if it is safe to assume a constant sequence regarding
the element types in the MSH2 output files?!

Judging by the source code in the file 'GModelIO_MSH2.cpp' the
sequence is as follows (with Mesh.SaveAll=1, or no physical entities):

$Elements

points
lines
triangles
quads
polygons
tets
hexas
prisms
...

I just wanted to verify that i got this right and if this sequence is
somehow future proof, so that newer versions won't break this, since
I'd like to rely on this sequence for my parser.

Best regards,

Benjamin Isbarn



More information about the gmsh mailing list