From b4ea3eb3004d858b63b1ec84426499aebe0de8cd Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Mon, 14 Oct 2019 11:56:29 +0100 Subject: read overtpping tolerance from boundary definition file. --- makeBoundary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makeBoundary.py') 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 -- cgit