Gmsh: Support for high-order wedges
@@ -38,42 +38,49 @@ num_nodes_per_cell = {
'triangle10': 10,
'quad16': 16,
'tetra20': 20,
+ 'wedge40': 40,
'hexahedron64': 64,
#
'line5': 5,
'triangle15': 15,
'quad25': 25,
'tetra35': 35,
+ 'wedge75': 75,
'hexahedron125': 125,
#
'line6': 6,
'triangle21': 21,
'quad36': 36,
'tetra56': 56,
+ 'wedge126': 126,
'hexahedron216': 216,
#
'line7': 7,
'triangle28': 28,
'quad49': 49,
'tetra84': 84,
+ 'wedge196': 196,
'hexahedron343': 343,
#
'line8': 8,
'triangle36': 36,
'quad64': 64,
'tetra120': 120,
+ 'wedge288': 288,
'hexahedron512': 512,
#
'line9': 9,
'triangle45': 45,
'quad81': 81,
'tetra165': 165,
+ 'wedge405': 405,
'hexahedron729': 729,
#
'line10': 10,
'triangle55': 55,
'quad100': 100,
'tetra220': 220,
+ 'wedge550': 550,
'hexahedron1000': 1000,
#
'line11': 11,
@@ -134,6 +141,8 @@ _gmsh_to_meshio_type = {
73: 'tetra165',
74: 'tetra220',
75: 'tetra286',
+ 90: 'wedge40',
+ 91: 'wedge75',
92: 'hexahedron64',
93: 'hexahedron125',
94: 'hexahedron216',
@@ -141,6 +150,11 @@ _gmsh_to_meshio_type = {
96: 'hexahedron512',
97: 'hexahedron729',
98: 'hexahedron1000',
+ 106: 'wedge126',
+ 107: 'wedge196',
+ 108: 'wedge288',
+ 109: 'wedge405',
+ 110: 'wedge550',
}
_meshio_to_gmsh_type = {v: k for k, v in _gmsh_to_meshio_type.items()}
