diff --git a/src/mesh/entity.jl b/src/mesh/entity.jl index 21cf07c3..d1f12ea8 100644 --- a/src/mesh/entity.jl +++ b/src/mesh/entity.jl @@ -252,7 +252,7 @@ end end @inline nfaces(t::Type{Tetra4_t}) = 4 @inline faces2nodes(::Type{Tetra4_t}) = ((1, 3, 2), (1, 2, 4), (2, 3, 4), (3, 1, 4)) -@inline facetypes(::Type{Tetra4_t}) = (Tri3_t(), Tri3_t(), Tri3_t()) +@inline facetypes(::Type{Tetra4_t}) = (Tri3_t(), Tri3_t(), Tri3_t(), Tri3_t()) #---- Tetra10 ---- @inline nnodes(::Type{Tetra10_t}) = 10 diff --git a/src/mesh/gmsh_utils.jl b/src/mesh/gmsh_utils.jl index c1257f45..c787a484 100644 --- a/src/mesh/gmsh_utils.jl +++ b/src/mesh/gmsh_utils.jl @@ -7,6 +7,7 @@ const GMSHTYPE = Dict( 1 => Bar2_t(), 2 => Tri3_t(), 3 => Quad4_t(), + 4 => Tetra4_t(), 5 => Hexa8_t(), 6 => Penta6_t(), 9 => Tri6_t(),