aboutsummaryrefslogtreecommitdiff
path: root/makeBoundary.py
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2019-10-14 11:56:29 +0100
committerPaul Garlick <pgarlick@tourbillion-technology.com>2019-10-14 11:56:29 +0100
commitb4ea3eb3004d858b63b1ec84426499aebe0de8cd (patch)
tree68144dc1d9e3fffcfb8ca16d971e105734a8e429 /makeBoundary.py
parent923b0baf830ff8063653e8a37e52689a584b5345 (diff)
downloadfullSWOF-utils-b4ea3eb3004d858b63b1ec84426499aebe0de8cd.tar.gz
read overtpping tolerance from boundary definition file.
Diffstat (limited to 'makeBoundary.py')
-rwxr-xr-xmakeBoundary.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/makeBoundary.py b/makeBoundary.py
index 89b3769..358bd29 100755
--- a/makeBoundary.py
+++ b/makeBoundary.py
@@ -31,6 +31,7 @@ n_co_east = definition_dict["n_co_east"] # coefficient for general surface
height_data = definition_dict["height_data"] # topography
markers = definition_dict["markers"] # distances from corner point
channel = definition_dict["channel"] # identifier of channel panel
+ztol = definition_dict["ztol"] # tolerance in overtopping height
# print(len(markers))
@@ -109,7 +110,6 @@ for p in range(num_panels):
# print(zregion)
# print(xin[12:20])
-ztol = 0.01 # tolerance in overtopping height
zmin = zregion[channel].min() # minimum height
zmax = zregion[channel].max()-ztol # overtopping height
zmax_west = zmax