The method “writeGmshMesh” defined in the DataBase class exports nodes, elements and RBEs into the mesh file. RBEs are exported with a negative integer ID. The three tags assigned to the elements are the property ID (twice) and the laminate ID. This means that the three tags sometimes have the same value.