Skip to content

Commit

Permalink
Merge pull request #68 from avigliotti/master
Browse files Browse the repository at this point in the history
Added two element types that are among those generated by gmsh.
  • Loading branch information
ahojukka5 authored Feb 28, 2023
2 parents aa8be3c + c7c1943 commit 603c2f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/parse_mesh.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import Base.parse
element_has_nodes(::Type{Val{:C3D4}}) = 4
element_has_type( ::Type{Val{:C3D4}}) = :Tet4

element_has_nodes(::Type{Val{:C3D6}}) = 6
element_has_type( ::Type{Val{:C3D6}}) = :Wedge6

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

Expand All @@ -27,6 +30,9 @@ element_has_nodes(::Type{Val{:C3D20E}}) = 20
element_has_nodes(::Type{Val{:S3}}) = 3
element_has_type( ::Type{Val{:S3}}) = :Tri3

element_has_nodes(::Type{Val{:CPS3}}) = 3
element_has_type( ::Type{Val{:CPS3}}) = :CPS3

element_has_nodes(::Type{Val{:STRI65}}) = 6
element_has_type(::Type{Val{:STRI65}}) = :Tri6

Expand Down

0 comments on commit 603c2f8

Please sign in to comment.