mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Geometry: Add water level at shift click, end of onpickevent refactoring.
This commit is contained in:
1 parent
f4561494f6
commit
317cbf904d
4 files changed
+106
-25
No files matched your search
@@ -135,7 +135,6 @@ class RubarBE(CommandLineSolver):
|
||||
name = self._study.name
|
||||
return f"{name}.TRA"
|
||||
|
||||
|
||||
def export(self, study, repertory, qlog=None):
|
||||
self._study = study
|
||||
name = study.name.replace(" ", "_")
|
||||
@@ -384,7 +383,9 @@ class RubarBE(CommandLineSolver):
|
||||
last = profiles[-1]
|
||||
|
||||
if first.kp not in data or last.kp not in data:
|
||||
logger.error("Study initial condition is not fully defined")
|
||||
logger.error(
|
||||
"Study initial condition is not fully defined"
|
||||
)
|
||||
return
|
||||
|
||||
f_h_s = self._export_tps_profile_height_speed(first, data)
|
||||
@@ -419,7 +420,6 @@ class RubarBE(CommandLineSolver):
|
||||
# Last mail
|
||||
f.write(f"{ind:>5} {f_h_s[0]} {f_h_s[1]}")
|
||||
|
||||
|
||||
def _export_tps_init_data(self, ics):
|
||||
data = {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user