wolfhece 2.1.100__py3-none-any.whl → 2.1.102__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wolfhece/PyDraw.py +207 -16
- wolfhece/PyGui.py +1039 -53
- wolfhece/Results2DGPU.py +37 -13
- wolfhece/acceptability/func.py +43 -32
- wolfhece/apps/version.py +1 -1
- wolfhece/bernoulli/losses.py +3 -3
- wolfhece/gpuview.py +4 -1
- wolfhece/libs/__init__.py +11 -10
- wolfhece/libs/wolfogl.cp310-win_amd64.pyd +0 -0
- wolfhece/math_parser/calculator.py +5 -4
- wolfhece/mesh2d/bc_manager.py +25 -2
- wolfhece/mesh2d/gpu_2d.py +647 -0
- wolfhece/mesh2d/simple_2d.py +581 -163
- wolfhece/mesh2d/wolf2dprev.py +4 -1
- wolfhece/scenario/check_scenario.py +11 -0
- wolfhece/scenario/config_manager.py +257 -53
- wolfhece/scenario/update_void.py +34 -3
- wolfhece/wolf_array.py +261 -79
- wolfhece/wolfresults_2D.py +53 -20
- {wolfhece-2.1.100.dist-info → wolfhece-2.1.102.dist-info}/METADATA +3 -1
- {wolfhece-2.1.100.dist-info → wolfhece-2.1.102.dist-info}/RECORD +24 -23
- {wolfhece-2.1.100.dist-info → wolfhece-2.1.102.dist-info}/WHEEL +1 -1
- {wolfhece-2.1.100.dist-info → wolfhece-2.1.102.dist-info}/entry_points.txt +0 -0
- {wolfhece-2.1.100.dist-info → wolfhece-2.1.102.dist-info}/top_level.txt +0 -0
wolfhece/scenario/update_void.py
CHANGED
@@ -40,7 +40,7 @@ class Update_Sim:
|
|
40
40
|
- topobahty.array.mask[:,:]
|
41
41
|
- topobahty.array.data[:,:]
|
42
42
|
|
43
|
-
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'
|
43
|
+
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'espace alloué.
|
44
44
|
|
45
45
|
EN
|
46
46
|
|
@@ -71,7 +71,7 @@ class Update_Sim:
|
|
71
71
|
- manning.array.mask[:,:]
|
72
72
|
- manning.array.data[:,:]
|
73
73
|
|
74
|
-
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'
|
74
|
+
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'espace alloué.
|
75
75
|
|
76
76
|
EN
|
77
77
|
|
@@ -102,7 +102,7 @@ class Update_Sim:
|
|
102
102
|
- infiltration_zones.array.mask[:,:]
|
103
103
|
- infiltration_zones.array.data[:,:]
|
104
104
|
|
105
|
-
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'
|
105
|
+
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'espace alloué.
|
106
106
|
|
107
107
|
EN
|
108
108
|
|
@@ -119,6 +119,37 @@ class Update_Sim:
|
|
119
119
|
"""
|
120
120
|
pass
|
121
121
|
|
122
|
+
def update_roof(self, roof:WolfArray):
|
123
|
+
"""
|
124
|
+
FR
|
125
|
+
|
126
|
+
Cette fonction doit être particularisée afin d'appliquer des modifications
|
127
|
+
à l'altimétrie des ponts et ponceaux (toits)'.
|
128
|
+
|
129
|
+
L'information de base se trouve dans le paramètre 'roof' de classe 'WolfArray'.
|
130
|
+
|
131
|
+
La matrice Numpy, en <Float32>, (avec masque - cf np.ma ) est accessible via :
|
132
|
+
- roof.array[:,:]
|
133
|
+
- roof.array.mask[:,:]
|
134
|
+
- roof.array.data[:,:]
|
135
|
+
|
136
|
+
Il n'est pas permis de remplacer la matrice (création d'une nouvelle matrice et/ou pointage d'una autre matrice). Toutes les operations doivent se faire dans l'espace alloué.
|
137
|
+
|
138
|
+
EN
|
139
|
+
|
140
|
+
This function must be customized to apply modifications to the roof elevation of bridges/culverts.
|
141
|
+
|
142
|
+
The basic information is located in the 'roof' parameter ('WolfArray' class).
|
143
|
+
|
144
|
+
The Numpy array, in <Float32>, (with a mask - see np.ma), can be accessed via:
|
145
|
+
- roof.array[:,:]
|
146
|
+
- roof.array.mask[:,:]
|
147
|
+
- roof.array.data[:,:]
|
148
|
+
|
149
|
+
It is not allowed to replace the array (creating a new array and/or pointing an other array). All operations must be performed within the allocated space.
|
150
|
+
"""
|
151
|
+
pass
|
152
|
+
|
122
153
|
def create_empty_method(method_name, method_signature, docstring, imports):
|
123
154
|
# Fonction utilitaire pour créer des méthodes vides avec la même signature, la documentation et les importations
|
124
155
|
imports_str = '\n'.join(f'import {module}' for module in imports)
|