mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
work on hydraulic structures window
This commit is contained in:
1 parent
c17e39e3cf
commit
d73e901a96
14 files changed
+688
-4
No files matched your search
+1
-1
@@ -455,7 +455,7 @@ class Mage(CommandLineSolver):
|
||||
reach_id = study.river.get_edge_id(hs.reach)
|
||||
params = [p.value for p in hs.basic_hydraulic_structure.param]
|
||||
param_str = ' '.join([f'{p.value:>10.3f}' for p in hs.basic_hydraulic_structure.param])
|
||||
f.write(f"{reach_id} {hs.kp:>12.3f} {params} {hs.name}\n")
|
||||
f.write(f"{hs.basic_hydraulic_structure.type} {reach_id} {hs.kp:>12.3f} {params} {hs.name}\n")
|
||||
|
||||
return files
|
||||
|
||||
|
||||
Reference in new issue
Block a user