emerge 0.4.6__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.
Potentially problematic release.
This version of emerge might be problematic. Click here for more details.
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: emerge
|
|
3
|
+
Version: 0.4.6
|
|
4
|
+
Summary: An open source EM FEM simulator in Python
|
|
5
|
+
Project-URL: Homepage, https://github.com/FennisRobert/EMerge
|
|
6
|
+
Project-URL: Issues, https://github.com/FennisRobert/EMerge/issues
|
|
7
|
+
Requires-Python: <4.0,>=3.10
|
|
8
|
+
Requires-Dist: gmsh>=4.13.1
|
|
9
|
+
Requires-Dist: joblib>=1.5.1
|
|
10
|
+
Requires-Dist: loguru>=0.7.3
|
|
11
|
+
Requires-Dist: numba-progress>=1.1.3
|
|
12
|
+
Requires-Dist: numba>=0.61.2
|
|
13
|
+
Requires-Dist: numpy>=2.2.6
|
|
14
|
+
Requires-Dist: pyvista>=0.45.2
|
|
15
|
+
Requires-Dist: scipy>=1.15.3
|
|
16
|
+
Provides-Extra: pypardiso
|
|
17
|
+
Requires-Dist: pypardiso; extra == 'pypardiso'
|
|
18
|
+
Provides-Extra: umfpack
|
|
19
|
+
Requires-Dist: scikit-umfpack; extra == 'umfpack'
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
|
|
22
|
+
## Introduction
|
|
23
|
+
|
|
24
|
+
Hello everybody. Thanks for showing interest in this repository.
|
|
25
|
+
|
|
26
|
+
Feel free to download your version of EMerge and start playing around with it!
|
|
27
|
+
If you have suggestions/changes/questions either use the Github issue system or join the Discord using the following link:
|
|
28
|
+
|
|
29
|
+
**https://discord.gg/7PF4WcS6uA**
|
|
30
|
+
|
|
31
|
+
## How to install
|
|
32
|
+
|
|
33
|
+
Clone this repository or download the files. While in the EMerge path containing the src/emerge folder, install the module using:
|
|
34
|
+
```
|
|
35
|
+
pip install .
|
|
36
|
+
```
|
|
37
|
+
If you want to install the library with PyPardiso on Intel machines, you can install the optional dependency with EMerge using:
|
|
38
|
+
```
|
|
39
|
+
pip install ".[pypardiso]"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Compatibility
|
|
43
|
+
|
|
44
|
+
As far as I know, the library should work on all systems. PyPARDISO is not supported on ARM but the current SuperLU and UMFPACK solvers work on ARM as well. Both SuperLU and UMFPACK can run on multi-processing implementations as long as you do entry-point protection:
|
|
45
|
+
```
|
|
46
|
+
import emerge as em
|
|
47
|
+
|
|
48
|
+
def main():
|
|
49
|
+
# setup simulation
|
|
50
|
+
|
|
51
|
+
model.mw.frequency_domain(True, ..., multi_processing=True)
|
|
52
|
+
|
|
53
|
+
if __name__ == "__main__":
|
|
54
|
+
main()
|
|
55
|
+
```
|
|
56
|
+
Otherwise, the parallel solver will default to SuperLU which is significantly slower on larger problems.
|
|
57
|
+
|
|
58
|
+
## Required libraries
|
|
59
|
+
|
|
60
|
+
To run this FEM library you need the following libraries
|
|
61
|
+
|
|
62
|
+
- numpy
|
|
63
|
+
- scipy
|
|
64
|
+
- pypardiso
|
|
65
|
+
- gmsh
|
|
66
|
+
- loguru
|
|
67
|
+
- numba
|
|
68
|
+
- matplotlib (for the matplotlib base display)
|
|
69
|
+
- pyvista (for the PyVista base display)
|
|
70
|
+
- numba-progress
|
|
71
|
+
- scikit-umfpack
|
|
72
|
+
|
|
73
|
+
## NOTICE
|
|
74
|
+
|
|
75
|
+
First time runs will be very slow because Numba needs to generate local C-compiled functions of the assembler and other mathematical functions. These compilations are chached so this should only take time once.
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
emerge-0.4.6.dist-info/METADATA,sha256=79vo3s0viuUBili8XYBaPg7PVqFYVWvkkRXcVKawoZ8,2391
|
|
2
|
+
emerge-0.4.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
3
|
+
emerge-0.4.6.dist-info/entry_points.txt,sha256=FQVLpooCCrK1HdO_5HtUrL995_M1xtdBaGaf9_nga8U,44
|
|
4
|
+
emerge-0.4.6.dist-info/RECORD,,
|