fixed whitespace bug in reading *NODE block

This commit is contained in:
Jukka Aho
2016-11-28 10:09:48 +02:00
parent df65f00c02
commit 4c4130e2f9
5 changed files with 61 additions and 18 deletions
+1 -1
View File
@@ -95,8 +95,8 @@ function create_element(mesh::Mesh, id::Int)
connectivity = mesh.elements[id]
element_type = getfield(JuliaFEM, mesh.element_types[id])
element = Element(element_type, connectivity)
update!(element, "geometry", mesh.nodes)
element.id = id
update!(element, "geometry", mesh.nodes)
return element
end