mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Friction: Rename 'Section' to 'Friction'.
This commit is contained in:
1 parent
1d3cf8bd94
commit
956a0714a2
16 files changed
+362
-348
No files matched your search
+6
-6
@@ -225,17 +225,17 @@ class Mage(AbstractSolver):
|
||||
|
||||
id = 1
|
||||
for edge in edges:
|
||||
sections = edge.sections
|
||||
frictions = edge.frictions
|
||||
|
||||
for section in sections.sections:
|
||||
for friction in frictions.frictions:
|
||||
num = f"{id:>3}"
|
||||
bkp = f"{section.begin_kp:>10.3f}"
|
||||
ekp = f"{section.end_kp:>10.3f}"
|
||||
bkp = f"{friction.begin_kp:>10.3f}"
|
||||
ekp = f"{friction.end_kp:>10.3f}"
|
||||
|
||||
# if section.begin_kp != section.end_kp:
|
||||
# if friction.begin_kp != friction.end_kp:
|
||||
# print("TODO")
|
||||
|
||||
strickler = section.begin_strickler
|
||||
strickler = friction.begin_strickler
|
||||
coef_1 = f"{strickler.minor:>10.3f}"
|
||||
coef_2 = f"{strickler.medium:>10.3f}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user