radia 1.3.7__py3-none-any.whl → 1.3.9__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.
radia/__init__.py ADDED
@@ -0,0 +1,18 @@
1
+ # Radia Python package
2
+ # This module re-exports all symbols from the C++ extension module (radia.pyd)
3
+ # so that 'import radia' works correctly when installed via pip
4
+
5
+ __version__ = "1.3.9"
6
+
7
+ # Import all symbols from the C++ extension module
8
+ try:
9
+ from radia.radia import *
10
+ except ImportError:
11
+ # Fallback for development: try importing from the same directory
12
+ try:
13
+ from .radia import *
14
+ except ImportError as e:
15
+ raise ImportError(
16
+ "Failed to import radia C++ extension module (radia.pyd). "
17
+ "Ensure the package was built correctly with Build.ps1 before installation."
18
+ ) from e
@@ -53,8 +53,8 @@ Example
53
53
 
54
54
  import os
55
55
  import radia as rad
56
- from netgen_mesh_import import netgen_mesh_to_radia
57
- from radia_vtk_export import exportGeometryToVTK
56
+ from .netgen_mesh_import import netgen_mesh_to_radia
57
+ from .radia_vtk_export import exportGeometryToVTK
58
58
 
59
59
 
60
60
  def create_radia_from_mesh(mesh, material=None, units='m', combine=True,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: radia
3
- Version: 1.3.7
3
+ Version: 1.3.9
4
4
  Summary: Radia 3D Magnetostatics with NGSolve Integration and OpenMP Parallelization
5
5
  Home-page: https://github.com/ksugahar/Radia_NGSolve
6
6
  Author: Pascal Elleaume
@@ -0,0 +1,17 @@
1
+ radia/__init__.py,sha256=epX9AJbN-SGE2L8eIMnY1wWT3oc4Niyyq-G7vLtqMJw,641
2
+ radia/nastran_mesh_import.py,sha256=CSoVhZCXa85lPiTF2hlspE2clBKOD7-_sCp1bxu_IK0,18147
3
+ radia/netgen_mesh_import.py,sha256=UopXk-5bbfj1j9_hyiq8jbjb4SQXnWaeuaC7TDf17wA,19872
4
+ radia/rad_ngsolve_fast.py,sha256=GkC7ruKy3MESHsO0iRSWsrgLU4-DPPgctOi6pPpsWg4,5675
5
+ radia/radia.pyd,sha256=6CNhfoZk5c07LIfeqR6-OT-vT22Oxnc_K3PkTADfa90,1735680
6
+ radia/radia_coil_builder.py,sha256=nQkiAbfhueNvvxUARHdPD0C68ImidHmUQv_q4RsImeY,11253
7
+ radia/radia_field_cached.py,sha256=Bjw3ecNe3u7AAXnLob5m_tjYIY7HwB9DpgFg9a-aP_8,9509
8
+ radia/radia_ngsolve.pyd,sha256=hmPQal8FEqt9Ia5NQ05Vw35RUW5jbWFGQ5PzwXJiLww,566272
9
+ radia/radia_ngsolve_field.py,sha256=suJr4wacfYFKOkyV-5AQuHWnW5rtUMb0gSSjq8VRSXc,10166
10
+ radia/radia_ngsolve_utils.py,sha256=tFzPz8rsSi9TCGF2--92H9KFMuua9oAq8JLvw_XdoHs,8408
11
+ radia/radia_pyvista_viewer.py,sha256=JS33Mx4azGI7hUX0bzefc6zJfhv6qfRjM3Kl1bE9Mjs,4275
12
+ radia/radia_vtk_export.py,sha256=I8Vyyt9tky78Qw1xPru9f0Rii6QEmdEgTFjQtamyooc,6540
13
+ radia-1.3.9.dist-info/licenses/LICENSE,sha256=yaWxyzG9DpJ44dDNdGni4nukwiZ8pU-r_aW-1tYNAjk,4374
14
+ radia-1.3.9.dist-info/METADATA,sha256=3jZZYju53dglUjWYIG7S6Pl03iKJHhW0vOalxOFfrHc,15518
15
+ radia-1.3.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
+ radia-1.3.9.dist-info/top_level.txt,sha256=kNDonE5X3Q2xnmOsWleQnGKQobuFsKM6Px5_Ta1I6x8,6
17
+ radia-1.3.9.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ radia
python/__init__.py DELETED
@@ -1,2 +0,0 @@
1
- # Radia Python package
2
- __version__ = "1.1.0"
@@ -1,17 +0,0 @@
1
- python/__init__.py,sha256=oUOAjf_vY8DNy5HRU7oArAMic8urvHCR9yHSi4HFkkQ,47
2
- python/nastran_mesh_import.py,sha256=CSoVhZCXa85lPiTF2hlspE2clBKOD7-_sCp1bxu_IK0,18147
3
- python/netgen_mesh_import.py,sha256=UopXk-5bbfj1j9_hyiq8jbjb4SQXnWaeuaC7TDf17wA,19872
4
- python/rad_ngsolve_fast.py,sha256=GkC7ruKy3MESHsO0iRSWsrgLU4-DPPgctOi6pPpsWg4,5675
5
- python/radia.pyd,sha256=6CNhfoZk5c07LIfeqR6-OT-vT22Oxnc_K3PkTADfa90,1735680
6
- python/radia_coil_builder.py,sha256=nQkiAbfhueNvvxUARHdPD0C68ImidHmUQv_q4RsImeY,11253
7
- python/radia_field_cached.py,sha256=Bjw3ecNe3u7AAXnLob5m_tjYIY7HwB9DpgFg9a-aP_8,9509
8
- python/radia_ngsolve.pyd,sha256=hmPQal8FEqt9Ia5NQ05Vw35RUW5jbWFGQ5PzwXJiLww,566272
9
- python/radia_ngsolve_field.py,sha256=suJr4wacfYFKOkyV-5AQuHWnW5rtUMb0gSSjq8VRSXc,10166
10
- python/radia_ngsolve_utils.py,sha256=xZCR9DOIKMwdEjmC28rOXVZiWFY5BQYH2VfopfuVBps,8406
11
- python/radia_pyvista_viewer.py,sha256=JS33Mx4azGI7hUX0bzefc6zJfhv6qfRjM3Kl1bE9Mjs,4275
12
- python/radia_vtk_export.py,sha256=I8Vyyt9tky78Qw1xPru9f0Rii6QEmdEgTFjQtamyooc,6540
13
- radia-1.3.7.dist-info/licenses/LICENSE,sha256=yaWxyzG9DpJ44dDNdGni4nukwiZ8pU-r_aW-1tYNAjk,4374
14
- radia-1.3.7.dist-info/METADATA,sha256=IpwhuG1ehOREVYTnjk8MQjl3ERnO7Y859KO8ChypMLQ,15518
15
- radia-1.3.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
16
- radia-1.3.7.dist-info/top_level.txt,sha256=J-z0poNcsv31IHB413--iOY8LoHBKiTHeybHX3abokI,7
17
- radia-1.3.7.dist-info/RECORD,,
@@ -1 +0,0 @@
1
- python
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes