Skip to content

Commit b4c84fb

Browse files
fix arch derivative
1 parent a74c8db commit b4c84fb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/compas_tno/shapes/circular_arch.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,11 @@ def arch_db(x, y, thk, fixed, H=1.00, L=2.0, x0=0.0):
358358
db = zeros((len(fixed), 2))
359359
x_lim = math.sqrt(re**2 - zc**2)
360360

361+
print(db.shape)
362+
361363
for i in range(len(fixed)):
362-
db[i, :] = [1 / 2 * re / x_lim, 0.0]
364+
# db[i, :] = [1 / 2 * re / x_lim, 0.0]
365+
db[i, 0] = 1 / 2 * re / x_lim
366+
db[i, 1] = 0.0
363367

364368
return db

0 commit comments

Comments
 (0)