Open CorbinFoucart opened 6 years ago
This is actually only relevant in 2D / 3D where element types can differ. In 1D, no enumeration type is required.
This is now implemented for Mesh2D
via commit a6da1688de106f1f709ba8d87f806354fe0d3d96 -- still not implemented for edge types or for extruded meshes.
related is that elements are stored in sorted order -- so no need for elm_type array, just save the range.
user has to know that element 0 is simplex like, 1 is hypercube, etc. This is can easily be corrected with a dictionary enumeration.