mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
pep8
This commit is contained in:
1 parent
400f6be9e3
commit
c702862bc4
6 files changed
+24
-21
No files matched your search
@@ -372,12 +372,12 @@ class EditBoundaryConditionWindow(PamhyrWindow):
|
||||
if strickler is None:
|
||||
strickler = 25.0
|
||||
height = [(i)*(z_max-z_min)/50 for i in range(51)]
|
||||
#q = [((profile.wet_width(z_min + h) * 0.8) * strickler
|
||||
#* (h ** (5/3)) * (abs(self.slope_value) ** (0.5)))
|
||||
#for h in height]
|
||||
# q = [((profile.wet_width(z_min + h) * 0.8) * strickler
|
||||
# * (h ** (5/3)) * (abs(self.slope_value) ** (0.5)))
|
||||
# for h in height]
|
||||
q = [profile.wet_area(z_min + h) * strickler
|
||||
* (profile.wet_radius(z_min + h) ** (2/3))
|
||||
* (abs(self.slope_value) ** (0.5))
|
||||
* (profile.wet_radius(z_min + h) ** (2/3))
|
||||
* (abs(self.slope_value) ** (0.5))
|
||||
for h in height]
|
||||
for i in range(len(height)):
|
||||
height[i] += z_min
|
||||
|
||||
Reference in new issue
Block a user