pyMOTO 1.2.0__py3-none-any.whl → 1.2.1__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.
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/METADATA +1 -1
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/RECORD +8 -8
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/WHEEL +1 -1
- pymoto/__init__.py +1 -1
- pymoto/common/domain.py +3 -3
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/LICENSE +0 -0
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/top_level.txt +0 -0
- {pyMOTO-1.2.0.dist-info → pyMOTO-1.2.1.dist-info}/zip-safe +0 -0
@@ -1,8 +1,8 @@
|
|
1
|
-
pymoto/__init__.py,sha256=
|
1
|
+
pymoto/__init__.py,sha256=V3OzqL_4NDy7lzIv_8tvu6s-8qS4bUwczd6XoH75M3s,2196
|
2
2
|
pymoto/core_objects.py,sha256=9TjGunvGVwa-LqM2tmE1XlWnqHDscZLeqbKFBZ7ZroU,25111
|
3
3
|
pymoto/routines.py,sha256=pMJlEFXa413XbqvbJuw3bZTNGQJ4Al-BRdAy_Es_M2g,14360
|
4
4
|
pymoto/utils.py,sha256=YJ-PNLJLc12Yx6TYCrEechS2aaBRx0o4mTM1soeeyz0,1122
|
5
|
-
pymoto/common/domain.py,sha256=
|
5
|
+
pymoto/common/domain.py,sha256=_VWgm0sjMDsan_GiKnwmpJqZcuksgDU6UTdZYMTSi98,15153
|
6
6
|
pymoto/common/dyadcarrier.py,sha256=VwLJnOq1omfMX2udG6DMHOkD3AsIB05LTpDY7veYXcc,17136
|
7
7
|
pymoto/common/mma.py,sha256=W1Z0h5f3a9BP8nFIlCdahDCIHT4XrcDcDyE6Y1Brq3k,23318
|
8
8
|
pymoto/common/solvers.py,sha256=U7XNMSyHhp0fiZ8ASo1guUb-CHGygik7A4lfLOnh07c,8316
|
@@ -16,9 +16,9 @@ pymoto/modules/generic.py,sha256=27EuDMfUtWkkwEqkfbHMCRlHkt6wcV40aUQKfhL2xKI,978
|
|
16
16
|
pymoto/modules/io.py,sha256=4k5S-YQHKhw_HwmqOoYQWFEzdcL5nMJ5fVD2FJFqpFg,10532
|
17
17
|
pymoto/modules/linalg.py,sha256=j8bZfjo5Il_vbdEHr2BhWB3e7OssYVovieoN54zygx8,24266
|
18
18
|
pymoto/modules/scaling.py,sha256=hK3sfCoAoseabjqdn5VXe6aGA_fV-MRmMtiv4uIg_I4,2252
|
19
|
-
pyMOTO-1.2.
|
20
|
-
pyMOTO-1.2.
|
21
|
-
pyMOTO-1.2.
|
22
|
-
pyMOTO-1.2.
|
23
|
-
pyMOTO-1.2.
|
24
|
-
pyMOTO-1.2.
|
19
|
+
pyMOTO-1.2.1.dist-info/LICENSE,sha256=ZXMC2Txpzs-dBwz9Me4_1rQCSVl4P1B27MomNi43F30,1072
|
20
|
+
pyMOTO-1.2.1.dist-info/METADATA,sha256=YKmcOzqRFlAObECUODa5oZgcIG9r7GRhjn86x12_8fk,4907
|
21
|
+
pyMOTO-1.2.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
22
|
+
pyMOTO-1.2.1.dist-info/top_level.txt,sha256=EdvAUSmFMaiqhuEZW8jxANMiK-LdPtlmDWL6SfmCdUU,7
|
23
|
+
pyMOTO-1.2.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
24
|
+
pyMOTO-1.2.1.dist-info/RECORD,,
|
pymoto/__init__.py
CHANGED
pymoto/common/domain.py
CHANGED
@@ -184,10 +184,10 @@ class DomainDefinition:
|
|
184
184
|
"""
|
185
185
|
v = np.prod(self.element_size[:self.dim])
|
186
186
|
assert v > 0.0, 'Element volume needs to be positive'
|
187
|
-
|
187
|
+
shapefn = np.ones(self.elemnodes)/v
|
188
188
|
for i in range(self.dim):
|
189
|
-
|
190
|
-
return
|
189
|
+
shapefn *= np.array([self.element_size[i]/2 + n[i]*pos[i] for n in self.node_numbering])
|
190
|
+
return shapefn
|
191
191
|
|
192
192
|
def eval_shape_fun_der(self, pos: np.ndarray):
|
193
193
|
""" Evaluates the shape function derivatives in x, y, and optionally z-direction.
|
File without changes
|
File without changes
|
File without changes
|