Skip to content

Commit 569e91e

Browse files
author
Carlos Lubbers
authored
fix: Update to new format for hydraulic head results in d-geo flow (#31)
* Update to new format for hydraulic head results in d-geo flow * Add flox files
1 parent eebae5b commit 569e91e

File tree

16 files changed

+257620
-271694
lines changed

16 files changed

+257620
-271694
lines changed

geolib/models/dgeoflow/internal.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -527,19 +527,14 @@ class PersistableCalculation(DGeoFlowBaseModelStructure):
527527
ResultsId: Optional[str]
528528

529529

530-
class GaussPointResult(DGeoFlowBaseModelStructure):
531-
Point: Optional[PersistablePoint] = None
532-
HydraulicHead: float = 1
533-
534-
535530
class NodeResult(DGeoFlowBaseModelStructure):
536531
Point: Optional[PersistablePoint] = None
537532
TotalPorePressure: float = 1
538533
HydraulicDischarge: float = 1
534+
HydraulicHead: float = 1
539535

540536

541537
class ElementResult(DGeoFlowBaseModelStructure):
542-
GaussPoints: Optional[List[GaussPointResult]] = []
543538
NodeResults: Optional[List[NodeResult]] = []
544539

545540

341 KB
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8ff4b757045935f5ae6be86c4810a76590aa01db82165567d01ab98d4b61f1aa
1+
d171fe09acde47dd0f6c3aa59fda8c25c4f11b379b48cf72155aad705e91827f

tests/test_data/dgeoflow/Berekening3/projectinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Analyst": "",
77
"LastModifier": "",
88
"Date": null,
9-
"LastModified": "23-9-2022",
9+
"LastModified": "31-10-2022",
1010
"Created": "18-2-2022",
1111
"ApplicationCreated": "D-GEO Suite Piping 0.0.1+c27e5a2",
1212
"ApplicationModified": "D-Geo Flow",

0 commit comments

Comments
 (0)