Inconsistent MSH format spec
Dear Gmsh developers,
I am the author of MshIO, a stand alone IO library supporting MSH file format in both ASCII and binary, for both version 2.2 and version 4.1. I noticed an inconsistency in the format spec for binary 4.1 on how node/element data are stored. See my original finding here.
In short, the spec stated elementTag
and nodeTag
is of type size_t
, i.e. 8 bytes on my macbook. However, Gmsh 4.7.1 seems to expect int32_t
, i.e. 4 bytes, based on trial and error. I appreciate any clarification on how to handle this issue.
best, Qingnan (James) Zhou