mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
try catch to ignore *ELSET creation from existing sets
This commit is contained in:
@@ -145,7 +145,13 @@ function parse_section(model, lines, key, idx_start, idx_end, ::Union{Type{Val{:
|
||||
if !(empty_or_comment_line(line))
|
||||
m = matchall(r"[0-9]+", line)
|
||||
set_ids = map(s -> parse(Int, s), m)
|
||||
push!(data, set_ids...)
|
||||
try
|
||||
push!(data, set_ids...)
|
||||
catch err
|
||||
if isa(err, MethodError)
|
||||
warn("Problems with element set creation")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Vendored
+3
@@ -3,3 +3,6 @@
|
||||
1, 2.448719E+00,-5.781690E+01,-5.904056E+00
|
||||
2, 1.812015E+00,-6.871083E+01, 9.743510E+00
|
||||
**
|
||||
*ELSET, ELSET=EALL
|
||||
conrod,
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user