Skip to content

Commit

Permalink
Fix tangent
Browse files Browse the repository at this point in the history
Use internal field `tangent` when defining tangent.
  • Loading branch information
ahojukka5 committed May 29, 2018
1 parent 69670b4 commit d80b70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/contact2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function FEMBase.assemble_elements!(problem::Problem{Contact2D}, assembly::Assem
end
la1 = slave_element("lambda", time)
n1 = slave_element("normal", time)
t1 = [n1[2], -n1[1]]
t1 = slave_element("tangent", time)

contact_area = 0.0
contact_error = 0.0
Expand Down

0 comments on commit d80b70a

Please sign in to comment.