Hi @Jfschue , that was a tricky one. Notice that the first mesh is made of 3D geometries and the second is made of 2D geometries. When you merge the two, the SimpleMesh
constructor will take all these connectivities into account, but will only interpret the geometries with highest dimension as the elements.
You can see that all connectivities are stored in the underlying topology:
topology(oneeach)
SimpleTopology{Connectivity}(Connectivity[Hexahedron(1, 2, 4, 3, 5, 6, 8, 7), Quadrangle(9, 10, 15, 14), Quadrangle(10, 11, 16, 15), Quadrangle(11, 12, 17, 16), Quadrangle(12, 13, 18, 17), Quadrangle(14, 15, 20, 19), Quadrangle(15, 16, 21, 20), Quadrangle(16, 17, 22, 21), Quadrangle(17, 18, 23, 22), Quadrangle(19, 20, 25, 24) … Quadrangle(26, 27, 12, 11), Quadrangle(27, 28, 13, 12), Triangle(29, 9, 14), Triangle(29, 14, 19), Triangle(29, 19, 24), Triangle(29, 24, 9), Triangle(30, 18, 13), Triangle(30, 23, 18), Triangle(30, 28, 23), Triangle(30, 13, 28)], [3, 2, 2, 2, 2, 2, 2, 2, 2, 2 … 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [1])
It is saying that you have 1 Hexahedron
(the single element) and a couple of Quadrangle
and Triangle
of lower parametric dimension.
The GeoIO.jl module currently loads/saves element and vertex data. It ignores geometries with intermediate dimension.