attempt to fix boundary condition

This commit is contained in:
Jukka Aho
2017-01-09 11:26:04 +02:00
parent 9683e60c6d
commit d840e56575
+1 -1
View File
@@ -400,7 +400,7 @@ function create_boundary_problem(model::Model, bc::AbstractBoundaryCondition, ::
nodes = row[1] nodes = row[1]
end end
elements = [Element(Poi1, [id]) for id in nodes] elements = Element[Element(Poi1, [id]) for id in nodes]
update!(elements, "geometry", model.mesh.nodes) update!(elements, "geometry", model.mesh.nodes)
for dof in row[2]:row[end] for dof in row[2]:row[end]