aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakeBoundary.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/makeBoundary.py b/makeBoundary.py
index 37a45d7..1fc6b69 100755
--- a/makeBoundary.py
+++ b/makeBoundary.py
@@ -25,8 +25,9 @@ definition_dict = read_definition('boundaryDefinition.txt')
# m, c = np.polyfit(ych, zch, 1)
# print('gradient =', m, 'intercept =', c)
-slope = abs(definition_dict["slope"]) # slope at top boundary
+slope = abs(definition_dict["slope"]) # slope at top boundary
target_flow = definition_dict["target_flow"] # imposed discharge
+location = definition_dict["location"] # boundary location
print(target_flow)
with open('../topography/top_boundary.xyz', "r") as topo: