api now able to read abaqus files

This commit is contained in:
Olli Väinölä
2015-12-03 15:39:02 +02:00
parent 565f371432
commit 47802eb876
3 changed files with 41 additions and 8 deletions
+5
View File
@@ -47,6 +47,11 @@ function add_element_set!(model::Model, name::ASCIIString, ids::Vector{Int64})
model.elsets[name] = elset
end
function add_node_set!(model::Model, name::ASCIIString, ids::Vector{Int64})
nset = NodeSet(name, ids)
model.nsets[name] = nset
end
function add_element_set!(model::Model, name::ASCIIString,
elements::Vector{Element})
elset = ElementSet(name, elements)