aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakeBoundary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeBoundary.py b/makeBoundary.py
index 639160f..2685bd4 100755
--- a/makeBoundary.py
+++ b/makeBoundary.py
@@ -92,7 +92,7 @@ def save_bc():
if csa[ind_z] == 0:
# wall boundary condition
f.write('{:6.2f} {:>2}\n'.format(xitem, 2))
- elif panel_x == ind_p:
+ elif panel_x == panel[ind_p]:
# imposed discharge within part-filled panel
f.write('{:6.2f} {:>2} {:10.6f} {:9.6f}\n'.format(
xitem, 5,