aboutsummaryrefslogtreecommitdiff
path: root/makeBoundary
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2019-10-29 11:50:57 +0000
committerPaul Garlick <pgarlick@tourbillion-technology.com>2019-10-29 11:50:57 +0000
commitf099eb3df2ddef1fca4a50c86bbb638bad8a08d0 (patch)
treec34c507c82a0ca25efce4c2795a58ad1d37babab /makeBoundary
parent1a40408ac232d6026f81d064b609475ee8dd4859 (diff)
downloadfullSWOF-utils-f099eb3df2ddef1fca4a50c86bbb638bad8a08d0.tar.gz
add space between operator and operand.
Diffstat (limited to 'makeBoundary')
-rwxr-xr-xmakeBoundary2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeBoundary b/makeBoundary
index cb27fd7..fc8390c 100755
--- a/makeBoundary
+++ b/makeBoundary
@@ -301,7 +301,7 @@ h_extra = h_i[panel[ind_p]][ind_q-1] \
print('heights:', h_i[panel[ind_p]][ind_q-1], h_extra, h_i[panel[ind_p]][ind_q])
# find area at target flow by linear interpolation
A_extra = A_i[panel[ind_p]][ind_q-1] \
- + (h_extra-h_i[panel[ind_p]][ind_q-1])\
+ + (h_extra - h_i[panel[ind_p]][ind_q-1])\
*(A_i[panel[ind_p]][ind_q] - A_i[panel[ind_p]][ind_q-1])\
/(h_i[panel[ind_p]][ind_q] - h_i[panel[ind_p]][ind_q-1])
print('hydraulic radii:', r_h[panel[ind_p]][ind_q-1], r_h[panel[ind_p]][ind_q])