File tree 1 file changed +2
-3
lines changed
src/Models/Material/Material_Models/Correspondence
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,6 @@ function calculate_bond_force(
309
309
bond_force:: Vector{Vector{Vector{Float64}}} ,
310
310
)
311
311
if dof == 2
312
-
313
312
calculate_bond_force_2d! (
314
313
bond_force,
315
314
nodes,
@@ -360,7 +359,7 @@ function calculate_bond_force_2d!(
360
359
b_fi = zero (eltype (temp))
361
360
@inbounds @fastmath for jdof = 1 : 2
362
361
b_fi +=
363
- temp[jdof, idof ] *
362
+ temp[idof, jdof ] *
364
363
bond_damage[iID][jID] *
365
364
undeformed_bond[iID][jID][jdof]
366
365
end
@@ -399,7 +398,7 @@ function calculate_bond_force_3d!(
399
398
b_fi = zero (eltype (temp))
400
399
@inbounds @fastmath for jdof = 1 : 3
401
400
@views b_fi +=
402
- temp[jdof, idof ] *
401
+ temp[idof, jdof ] *
403
402
bond_damage[iID][jID] *
404
403
undeformed_bond[iID][jID][jdof]
405
404
end
You can’t perform that action at this time.
0 commit comments