From babd2fc23eb23add9120a35d1159706ebf36f026 Mon Sep 17 00:00:00 2001 From: Joona Vaara Date: Wed, 1 Nov 2017 11:47:50 +0200 Subject: [PATCH] Quick fix for DCOUP3D Related to issue #26. --- src/parse_mesh.jl | 4 ++++ 1 file changed, 4 insertions(+) mode change 100644 => 100755 src/parse_mesh.jl diff --git a/src/parse_mesh.jl b/src/parse_mesh.jl old mode 100644 new mode 100755 index 56cc0e6..f804e9b --- a/src/parse_mesh.jl +++ b/src/parse_mesh.jl @@ -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})