mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Sediment: Add solid BC, QSO export and profile + point sediment layers export.
This commit is contained in:
1 parent
23fb3e6fb3
commit
768a0b9f14
8 files changed
+107
-14
No files matched your search
@@ -83,7 +83,8 @@ class BoundaryCondition(SQLSubModel):
|
||||
def _get_ctor_from_type(cls, t):
|
||||
from Model.BoundaryCondition.BoundaryConditionTypes import (
|
||||
NotDefined, PonctualContribution,
|
||||
TimeOverZ, TimeOverDischarge, ZOverDischarge
|
||||
TimeOverZ, TimeOverDischarge, ZOverDischarge,
|
||||
Solid,
|
||||
)
|
||||
|
||||
res = NotDefined
|
||||
@@ -95,6 +96,8 @@ class BoundaryCondition(SQLSubModel):
|
||||
res = TimeOverDischarge
|
||||
elif t == "ZD":
|
||||
res = ZOverDischarge
|
||||
elif t == "SL":
|
||||
res = Solid
|
||||
return res
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in new issue
Block a user