Skip to content

Commit

Permalink
switch to offset shear
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 25, 2018
1 parent b9f1da0 commit 18f0574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpkitmodels/GP/aircraft/wing/sparloading.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def setup(self, wing, state, sp=False):
constraints = [
S[:-1] >= (S[1:] + 0.5*deta*(b/2.)*(q[:-1] + q[1:])
- Sout),
S[-1] >= N*W,
M[:-1] >= M[1:] + 0.5*deta*(b/2)*(S[:-1] + S[1:] - 2*N*W),
S[-1] >= Soffset,
M[:-1] >= M[1:] + 0.5*deta*(b/2)*(S[:-1] + S[1:] - 2*Soffset),
]

else:
Expand Down

0 comments on commit 18f0574

Please sign in to comment.