mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debugs
This commit is contained in:
1 parent
8e6323ae48
commit
8ce85e5d23
3 files changed
+6
-4
No files matched your search
@@ -355,6 +355,8 @@ class EditBoundaryConditionWindow(PamhyrWindow):
|
||||
q = [((profile.wet_width(z_min + h) * 0.8) * strickler
|
||||
* (h ** (5/3)) * (abs(incline) ** (0.5)))
|
||||
for h in height]
|
||||
for i in range(len(height)):
|
||||
height[i] += z_min
|
||||
self._table.replace_data(height, q)
|
||||
|
||||
return
|
||||
@@ -372,5 +374,7 @@ class EditBoundaryConditionWindow(PamhyrWindow):
|
||||
q = [sqrt(9.81 * (profile.wet_area(z_min + h) ** 3)
|
||||
/ profile.wet_width(z_min + h))
|
||||
for h in height]
|
||||
for i in range(len(height)):
|
||||
height[i] += z_min
|
||||
self._table.replace_data(height, q)
|
||||
return
|
||||
Reference in new issue
Block a user