> On 29 Feb 2016, at 16:31, Benjamin Isbarn <[email protected]> wrote:
> 
> 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.
> 

Gmsh will continue to save elements in that order; but the format does not 
enforce it...

> Best regards,
> 
> Benjamin Isbarn
> 
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info


_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to