CorbinFoucart / FEMexperiment

Numerical experiments and tools for different finite element solvers
MIT License
1 stars 0 forks source link

Enumeration for element type #1

Open CorbinFoucart opened 6 years ago

CorbinFoucart commented 6 years ago

user has to know that element 0 is simplex like, 1 is hypercube, etc. This is can easily be corrected with a dictionary enumeration.

CorbinFoucart commented 6 years ago

This is actually only relevant in 2D / 3D where element types can differ. In 1D, no enumeration type is required.

CorbinFoucart commented 6 years ago

This is now implemented for Mesh2D via commit a6da1688de106f1f709ba8d87f806354fe0d3d96 -- still not implemented for edge types or for extruded meshes.

CorbinFoucart commented 6 years ago

related is that elements are stored in sorted order -- so no need for elm_type array, just save the range.