From 0bc0d69c6057dbc1d04a8a621b4af11c38239231 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Fri, 8 Nov 2019 15:15:37 +0000 Subject: improve error message. --- makeBoundary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makeBoundary') diff --git a/makeBoundary b/makeBoundary index 8b6b7e5..a0d3773 100755 --- a/makeBoundary +++ b/makeBoundary @@ -294,7 +294,7 @@ velocity_channel = Q_i[panel[0]][-1]/A_i[panel[0]][-1] if total_flow[-1] > target_flow: ind_p = bisect.bisect(total_flow, target_flow) else: - print('Error: imposed discharge is higher than capacity') + print('Error: imposed discharge is higher than total capacity of panels.') sys.exit() print('index of part-filled panel:', ind_p) -- cgit