mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
debug
This commit is contained in:
1 parent
c9c5bfe093
commit
81f15208cf
1 file changed
+5
-6
@@ -173,9 +173,9 @@ class AdisTS(CommandLineSolver):
|
|||||||
name = ""
|
name = ""
|
||||||
return f"{name}"
|
return f"{name}"
|
||||||
|
|
||||||
################################
|
#################################
|
||||||
# Adis-TS in low coupling mode #
|
# Adis-TS in weak coupling mode #
|
||||||
################################
|
#################################
|
||||||
|
|
||||||
|
|
||||||
class AdisTSlc(AdisTS):
|
class AdisTSlc(AdisTS):
|
||||||
@@ -217,7 +217,6 @@ class AdisTSlc(AdisTS):
|
|||||||
name = pollutant.name
|
name = pollutant.name
|
||||||
with adists_file_open(os.path.join(repertory, f"{name}.POL"), "w+") as f:
|
with adists_file_open(os.path.join(repertory, f"{name}.POL"), "w+") as f:
|
||||||
files.append(f"{name}.POL")
|
files.append(f"{name}.POL")
|
||||||
f.write(f"*Polluant A contaminé aux PCB\n")
|
|
||||||
f.write(f"name = {name}\n")
|
f.write(f"name = {name}\n")
|
||||||
|
|
||||||
self._export_POL_Characteristics(study, pollutant._data, f, qlog)
|
self._export_POL_Characteristics(study, pollutant._data, f, qlog)
|
||||||
@@ -296,7 +295,7 @@ class AdisTSlc(AdisTS):
|
|||||||
|
|
||||||
with adists_file_open(os.path.join(repertory, f"{POL_name}.INI"), "w+") as f:
|
with adists_file_open(os.path.join(repertory, f"{POL_name}.INI"), "w+") as f:
|
||||||
f.write(f"*État initial pour le polluant {POL_name}\n")
|
f.write(f"*État initial pour le polluant {POL_name}\n")
|
||||||
f.write(f"{POL_IC_default.name} = {POL_IC_default.concentration} {POL_IC_default.eg} "+
|
f.write(f"DEFAULT = {POL_IC_default.concentration} {POL_IC_default.eg} "+
|
||||||
f"{POL_IC_default.em} {POL_IC_default.ed}\n")
|
f"{POL_IC_default.em} {POL_IC_default.ed}\n")
|
||||||
|
|
||||||
if len(POL_IC_default._data) != 0:
|
if len(POL_IC_default._data) != 0:
|
||||||
@@ -332,7 +331,7 @@ class AdisTSlc(AdisTS):
|
|||||||
|
|
||||||
d90AdisTS = study.river.d90_adists.D90_AdisTS_List
|
d90AdisTS = study.river.d90_adists.D90_AdisTS_List
|
||||||
|
|
||||||
f.write(f"{d90AdisTS[0].name} = {d90AdisTS[0].d90}\n")
|
f.write(f"DEFAULT = {d90AdisTS[0].d90}\n")
|
||||||
|
|
||||||
self._export_d90_spec(study, d90AdisTS[0]._data, f, qlog)
|
self._export_d90_spec(study, d90AdisTS[0]._data, f, qlog)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user