Skip to content

Commit

Permalink
Merge pull request #46 from benzwick/add-more-element-types
Browse files Browse the repository at this point in the history
Read element types C3D4H and C3D10H
  • Loading branch information
ahojukka5 committed May 16, 2019
2 parents 49a46b1 + 8e5a30c commit 7edbdf1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parse_mesh.jl
Expand Up @@ -7,12 +7,18 @@ import Base.parse
element_has_nodes(::Type{Val{:C3D4}}) = 4
element_has_type( ::Type{Val{:C3D4}}) = :Tet4

element_has_nodes(::Type{Val{:C3D4H}}) = 4
element_has_type( ::Type{Val{:C3D4H}}) = :Tet4

element_has_nodes(::Type{Val{:C3D8}}) = 8
element_has_type( ::Type{Val{:C3D8}}) = :Hex8

element_has_nodes(::Type{Val{:C3D10}}) = 10
element_has_type(::Type{Val{:C3D10}}) = :Tet10

element_has_nodes(::Type{Val{:C3D10H}}) = 10
element_has_type(::Type{Val{:C3D10H}}) = :Tet10

element_has_nodes(::Type{Val{:C3D20}}) = 20
element_has_type(::Type{Val{:C3D20}}) = :Hex20

Expand Down

0 comments on commit 7edbdf1

Please sign in to comment.