Skip to content

Commit 86105dc

Browse files
Fix format.
1 parent a640ce5 commit 86105dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

perpendicular-flap/solid-fenics/solid.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ def neumann_boundary(x, on_boundary):
9595
Chung, J., and Hulbert, G. M. (June 1, 1993). "A Time Integration Algorithm for Structural Dynamics With Improved Numerical Dissipation:
9696
The Generalized-α Method." ASME. J. Appl. Mech. June 1993; 60(2): 371–375. https://doi.org/10.1115/1.2900803
9797
"""
98-
assert(alpha_m <= alpha_f)
99-
assert(alpha_f <= 0.5)
98+
assert (alpha_m <= alpha_f)
99+
assert (alpha_f <= 0.5)
100100

101101
gamma = Constant(0.5 + alpha_f - alpha_m)
102102
beta = Constant((gamma + 0.5)**2 / 4.)
103103

104+
104105
# Define strain
105106
def epsilon(u):
106107
return 0.5 * (nabla_grad(u) + nabla_grad(u).T)

0 commit comments

Comments
 (0)