Skip to content

Commit

Permalink
Quick fix for DCOUP3D
Browse files Browse the repository at this point in the history
Related to issue #26.
  • Loading branch information
jvaara committed Nov 1, 2017
1 parent a9677c7 commit babd2fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/parse_mesh.jl
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ function parse_section(model, lines, key, idx_start, idx_end, ::Type{Val{:ELEMEN
ids = Integer[]
definition = lines[idx_start]
element_type = regex_match(r"TYPE=([\w\-\_]+)", definition, 1)
if element_type=="DCOUP3D"
info("Element type $element_type not supported")
return
end
eltype_sym = Symbol(element_type)
eltype_nodes = element_has_nodes(Val{eltype_sym})
element_type = element_has_type(Val{eltype_sym})
Expand Down

0 comments on commit babd2fc

Please sign in to comment.