fiqus 2025.12.0__py3-none-any.whl → 2026.1.0__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.
@@ -1,11 +1,12 @@
1
- fiqus/MainFiQuS.py,sha256=QmL23I9KoqgIIv5Gg0zIe_DO8w750kPwR3y2-IMGSvk,21666
1
+ fiqus/MainFiQuS.py,sha256=edv6-4VzlBVUCo35eqmnAVrh7f1daLGEpJhJmVsD9Mw,21915
2
2
  fiqus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- fiqus/data/DataConductor.py,sha256=vZkSD7Fqzt_9xWzQ1Oi3SZoIrKwC5g0Cq0OQRCuwo7I,18131
4
- fiqus/data/DataFiQuS.py,sha256=SABe9JH-9WjRzIl2cX0bISJDLZcr74OHB19748h0p-I,5906
3
+ fiqus/data/DataConductor.py,sha256=srdHdqqxfANeQYbfQB2jl1UllVhHwoPv3vrQ7ZhNbRk,27823
4
+ fiqus/data/DataFiQuS.py,sha256=xsGhww-q7zW15-9C2wlMR8pspEfafOvaENOzhwR8yi0,5967
5
5
  fiqus/data/DataFiQuSCCT.py,sha256=__3AEMvalYm_YgCV9RK-hr9T7e_Dvvx3fBcqbToQWUw,7285
6
6
  fiqus/data/DataFiQuSConductor.py,sha256=HpPelDwQsGbgNoX3SdwHQYcTMCHq8vMmi0C-EGpxWeA,3392
7
+ fiqus/data/DataFiQuSConductorAC_CC.py,sha256=fF_g2Ao5Q_vy2g5EcxSGbstHETYP2YKJH2BU_O9kpPo,13903
7
8
  fiqus/data/DataFiQuSConductorAC_Rutherford.py,sha256=mEZYPqIMzovyt-7vwD16dMScwwrX2ZTkmn1MmZI4rNM,30037
8
- fiqus/data/DataFiQuSConductorAC_Strand.py,sha256=SLERW3APmEiwt0U5DQfqneTaktGetzW5eML3pLQWVGE,38184
9
+ fiqus/data/DataFiQuSConductorAC_Strand.py,sha256=vyVcY9IIVbTvOVP1AkbTLafcv2TSM02BHQ6Fxy3ZDbY,38089
9
10
  fiqus/data/DataFiQuSHomogenizedConductor.py,sha256=2MIJHJ51nB3_7Gx4St0tFfKh07vFhVu3DzXVNvntsMY,22854
10
11
  fiqus/data/DataFiQuSMultipole.py,sha256=_rX9zP-xNTZioVmu4NCaFVWF66ipesp8cSiB0pmKsG4,32377
11
12
  fiqus/data/DataFiQuSPancake3D.py,sha256=czgDU-h_XBq3OLqFOllr8zLx_MxQoCiWo84DsyOhhbo,136611
@@ -17,6 +18,7 @@ fiqus/data/DataWindingsCCT.py,sha256=qqqxO4VG6rsKpNEImkA1hjrUMyS4UFNfVG_ioQd4ML8
17
18
  fiqus/data/RegionsModelFiQuS.py,sha256=6FTJBE0D4snVivMnKpS4NPJFFrdoZjmpR4KmMNF74R4,6795
18
19
  fiqus/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
20
  fiqus/geom_generators/GeometryCCT.py,sha256=t-b4M3XQ7cZlB-_gR59A5sC6qXIldsfBCDqvxSSS9gs,49902
21
+ fiqus/geom_generators/GeometryConductorAC_CC.py,sha256=B98dl6rlOOZBUX1qw1MVxOq5I3UwkkAUtAnAROry4D8,69785
20
22
  fiqus/geom_generators/GeometryConductorAC_Rutherford.py,sha256=8_-YkhpqElDrMl27siJIlFPyJ0T6JrPUUQrfUi44ez0,45614
21
23
  fiqus/geom_generators/GeometryConductorAC_Strand.py,sha256=0MXKxyodC4Q6Ie4ryiIqgdRmyFsEZrFAc_Tu9yW5wuA,100610
22
24
  fiqus/geom_generators/GeometryConductorAC_Strand_RutherfordCopy.py,sha256=TME2ZKV7f_UClhr_8E_ss7hWBom-0MDpQVr__nF05wY,100975
@@ -26,6 +28,7 @@ fiqus/geom_generators/GeometryPancake3D.py,sha256=mefxCg7It69jSMqV4y1-dniy2rwjs0
26
28
  fiqus/geom_generators/GeometryPancake3DUtils.py,sha256=nmOEKtqzUWB5xbITFkIiO38FeLeIydFxtLrRyZXVQPg,23679
27
29
  fiqus/geom_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
30
  fiqus/getdp_runners/RunGetdpCCT.py,sha256=tZVJYxL6Knx_6JIbJmjibG6MGkAGU3EmzIMu6ekrYnM,3682
31
+ fiqus/getdp_runners/RunGetdpConductorAC_CC.py,sha256=KlxIBc8iCRfjoGH-wqwq7DHqz16TH_Lurai2V9xhp8M,5635
29
32
  fiqus/getdp_runners/RunGetdpConductorAC_Rutherford.py,sha256=v3SPfTBZCK24qKF_IoS_drqfxWWWWMXfiG4E-g1ijAY,9869
30
33
  fiqus/getdp_runners/RunGetdpConductorAC_Strand.py,sha256=VUMMu6qmx8zYhRp1tqZac8tjJbsVhrJmW2EvxP9NcHc,23043
31
34
  fiqus/getdp_runners/RunGetdpHomogenizedConductor.py,sha256=tzWZKqguyE7vdW1LNm4QKRG7AftdmXfPOZ36Ku6pQGU,8871
@@ -33,6 +36,7 @@ fiqus/getdp_runners/RunGetdpMultipole.py,sha256=mYinMVQDJx2zAZIypFbl7bybu7h3TKjl
33
36
  fiqus/getdp_runners/RunGetdpPancake3D.py,sha256=bXqd8hRbH-XFmZ50i4q9cE7slNAiiNz2zi3hGI1RLYY,10876
34
37
  fiqus/getdp_runners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
38
  fiqus/mains/MainCCT.py,sha256=XpDPlj5n8B70ksOF6AHaeTXB752kN7CMLktISoXqirA,4422
39
+ fiqus/mains/MainConductorAC_CC.py,sha256=R4hwF7uLScZDs6vUlt63JxPTEpcAkiCmpP_m5nvtXA8,5569
36
40
  fiqus/mains/MainConductorAC_Rutherford.py,sha256=nmV5pAiMbypFQ-sRts5iAgEPOOsZyJNRTnKNvFQWdxQ,3084
37
41
  fiqus/mains/MainConductorAC_Strand.py,sha256=taZ10hr-c3Mmn83WwsKtar6Ezm3DvODwvmkem5_XZI4,5511
38
42
  fiqus/mains/MainHomogenizedConductor.py,sha256=MoxSJq1ypnldsOMyxq8kS-57WTDqCvCl-s6Jo-eqc8E,3962
@@ -40,6 +44,7 @@ fiqus/mains/MainMultipole.py,sha256=2f1AyYjKikxg5vEknHLsDFBhbL1eOhpPx_YO1Rf_2uk,
40
44
  fiqus/mains/MainPancake3D.py,sha256=JgmKqcjUOGmodxZoWXfLxKpp-w6_bX1r6XIhqNTQduU,23561
41
45
  fiqus/mains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
46
  fiqus/mesh_generators/MeshCCT.py,sha256=j2Qj69tdFb-weQnNgv5zi6dkL3ZJxGRdzKqzjlYdIy8,11436
47
+ fiqus/mesh_generators/MeshConductorAC_CC.py,sha256=zj79ciB2MT3V0Y4wyoMb5ZLsrHAa-dm4cfJnO8aipZQ,54503
43
48
  fiqus/mesh_generators/MeshConductorAC_Rutherford.py,sha256=xFrBLFInqrzZ-eTvHOv3732spMVxDC3gZHbX1x_SDjQ,14789
44
49
  fiqus/mesh_generators/MeshConductorAC_Strand.py,sha256=EvQ_adA1lUEcgfOQ9-m2G6FuWTioFRQrC0en-Nn_ztg,48041
45
50
  fiqus/mesh_generators/MeshConductorAC_Strand_RutherfordCopy.py,sha256=LundceEIHHgL3MDIVAk1pU1gyrEBtj2A43Jh7UoOdWE,48153
@@ -59,6 +64,7 @@ fiqus/plotters/PlotPythonCCT.py,sha256=YgphOuiTk0klqZh4d4u81hahtiDp-tx149EpBjyKH
59
64
  fiqus/plotters/PlotPythonConductorAC.py,sha256=_7ygaz5WVVGuc4RkgOcZ2NUbqWbowtJMmseAeQ49XbQ,59383
60
65
  fiqus/plotters/PlotPythonMultipole.py,sha256=SjJQKHX5mUoMW3yli97W6Kja0Hux8C16YE1U22hQRHY,481
61
66
  fiqus/plotters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
67
+ fiqus/post_processors/PostProcessAC_CC.py,sha256=-J6lhiOMGlOhauwJ_WOBoDtOWk5poJfZJuxmh2ABSwQ,2236
62
68
  fiqus/post_processors/PostProcessAC_Rutherford.py,sha256=2n_SYfpYDJ6olnTHKAT3Vw1q6RFAQBRX4PZypcbEIEI,6769
63
69
  fiqus/post_processors/PostProcessCCT.py,sha256=C4BU7IHHWm2CbbLunEmHaHN_iW6y9mlisIed3lKfs_A,28633
64
70
  fiqus/post_processors/PostProcessConductorAC.py,sha256=qMtxsmBGRMZVKiDynzfzWh4q6ttOAA2bGPmOzciAgXo,58804
@@ -72,9 +78,10 @@ fiqus/pro_assemblers/ProAssembler.py,sha256=DrVd1wiuv-7PIj3G38crBu07aMPyE3FOapOD
72
78
  fiqus/pro_assemblers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
73
79
  fiqus/pro_material_functions/ironBHcurves.pro,sha256=0Tz1KzZ63G_zaS6dYQ5NYwa9EAtJna0jR61OxsM9J_E,17835
74
80
  fiqus/pro_templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
+ fiqus/pro_templates/combined/CAC_CC_template.pro,sha256=q7ZvZOYJTqx--yKrR6ZSQxWvn2r0HyZwST5bh__dQ2A,30257
82
+ fiqus/pro_templates/combined/CAC_Rutherford_template.pro,sha256=tgKnqZw6FADj42HcYT2M_bw76J5gspSfRZ_F8oMiRSo,100473
83
+ fiqus/pro_templates/combined/CAC_Strand_template.pro,sha256=RN69ycY4vGGPp8YmCHICVGRNfvuEHGB50FxmEeEzrXA,94008
75
84
  fiqus/pro_templates/combined/CCT_template.pro,sha256=gZKoLj6ZefuSzM7dYkEJW49qlzfiUqEwmifaJP4kOzc,13878
76
- fiqus/pro_templates/combined/ConductorACRutherford_template.pro,sha256=tgKnqZw6FADj42HcYT2M_bw76J5gspSfRZ_F8oMiRSo,100473
77
- fiqus/pro_templates/combined/ConductorAC_template.pro,sha256=RN69ycY4vGGPp8YmCHICVGRNfvuEHGB50FxmEeEzrXA,94008
78
85
  fiqus/pro_templates/combined/HomogenizedConductor_template.pro,sha256=sq4B6ZZVDfl8T4L0tBaIA9LzisYzrOv8uB7pAa6ZK64,90770
79
86
  fiqus/pro_templates/combined/Multipole_template.pro,sha256=H0H_R7sa69EL2lHtIQ0kmz-0Ov0MbZZIpnu1L0pAhPM,97994
80
87
  fiqus/pro_templates/combined/Pancake3D_template.pro,sha256=OjWWWAZel5Yk_k4FEFFNkkSFkCv1N0rM2-DRvilH6dc,215797
@@ -87,16 +94,16 @@ fiqus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
94
  fiqus/utils/update_data_settings.py,sha256=Cl_vP-7MXFHG3LiDE8nVtL7CwK9DUvDhxXV7sabP9to,1295
88
95
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
89
96
  tests/test_FiQuS.py,sha256=mlY5eRp-sE_ubaPG7HHAEsC4Q3iQwI76nfOclPg7m-M,15529
90
- tests/test_geometry_generators.py,sha256=Dhjh2gT-s6DFf6NRIdmwp-oonQbdd4-t-Z4MIBiv0HA,10023
91
- tests/test_mesh_generators.py,sha256=1RPbiBzTV5KaQ3QRCX2U2v_o1srSkiO3tzkGidYqW2E,12501
92
- tests/test_solvers.py,sha256=TE-XuQVr3YYryvqUYUB0LFZLeZFQBA8JXt3sc4uJf-U,17381
97
+ tests/test_geometry_generators.py,sha256=kadOCdjeWIur8rK7J7ULrvM129Okfl0hwuCATXd3ZVg,10854
98
+ tests/test_mesh_generators.py,sha256=NjtVDH6z7iTBe8aUxnMHhMLrzvPpnHmCM-xyleMe2AU,14105
99
+ tests/test_solvers.py,sha256=_Zyv7foSfjs1iS3qcQTE0ryfwiinTbk7ZFzGsEwlRbI,19040
93
100
  tests/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
101
  tests/utils/fiqus_test_classes.py,sha256=ynCjYknWGI_pa-lRWQ01aL2SjHz0GTrN4bICW5GlR34,30395
95
102
  tests/utils/generate_reference_files_ConductorAC.py,sha256=_jEE6xcqiz52bnmY6Is11QmG-bZ2vdH0k99p733t4N4,1676
96
103
  tests/utils/generate_reference_files_Pancake3D.py,sha256=9sULcDOmbotrbYHz8DqGv6Km7ThfltnCHFojHUx193U,3126
97
104
  tests/utils/helpers.py,sha256=BQxdHr8N4rGXc2C_YNEeOXxTIDJSUeRyyxLkvWfhiJY,4149
98
- fiqus-2025.12.0.dist-info/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
99
- fiqus-2025.12.0.dist-info/METADATA,sha256=Vc9iezSKA-tVEDMdTgSx6K60HCI4H7bUmqfZKQu67ZI,9392
100
- fiqus-2025.12.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
101
- fiqus-2025.12.0.dist-info/top_level.txt,sha256=oGzSIyoVc1zYg14o67zI3QFwWsJvqNzNT0-te9WbUQc,12
102
- fiqus-2025.12.0.dist-info/RECORD,,
105
+ fiqus-2026.1.0.dist-info/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
106
+ fiqus-2026.1.0.dist-info/METADATA,sha256=xDXd4lOVoqzi5Ie-vhHOsn4G6DIgneXCfK7p-1nmE1I,9249
107
+ fiqus-2026.1.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
108
+ fiqus-2026.1.0.dist-info/top_level.txt,sha256=oGzSIyoVc1zYg14o67zI3QFwWsJvqNzNT0-te9WbUQc,12
109
+ fiqus-2026.1.0.dist-info/RECORD,,
@@ -112,6 +112,26 @@ class TestGeometryGenerators(FiQuSGeometryTests):
112
112
  )
113
113
  self.compare_number_of_entities(geometry_file, reference_file)
114
114
 
115
+ def test_ConductorAC_CC(self):
116
+ model_names = [
117
+ "TEST_CAC_CC",
118
+ ]
119
+
120
+ for model_name in model_names:
121
+ with self.subTest(model_name=model_name):
122
+ data_model = self.get_data_model(model_name)
123
+
124
+ self.generate_geometry(data_model, model_name)
125
+
126
+ # Compare the number of entities with the reference file:
127
+ geometry_file = self.get_path_to_generated_file(
128
+ data_model=data_model, file_name=model_name, file_extension="brep"
129
+ )
130
+ reference_file = self.get_path_to_reference_file(
131
+ data_model=data_model, file_name=model_name, file_extension="brep"
132
+ )
133
+ self.compare_number_of_entities(geometry_file, reference_file)
134
+
115
135
  def test_Multipole(self):
116
136
  """
117
137
  Checks if Multipole geometry generators work correctly by comparing generated
@@ -139,6 +139,44 @@ class TestMeshGenerators(FiQuSMeshTests):
139
139
  )
140
140
  self.compare_json_or_yaml_files(regions_file, reference_regions_file)
141
141
 
142
+ def test_ConductorAC_CC(self):
143
+ """
144
+ Checks if mesh generators work correctly by comparing the number
145
+ of entities in the generated geometry file to the reference file that was
146
+ checked manually.
147
+ """
148
+ model_names = [
149
+ "TEST_CAC_CC",
150
+ ]
151
+
152
+ for model_name in model_names:
153
+ with self.subTest(model_name=model_name):
154
+ data_model = self.get_data_model(model_name)
155
+
156
+ self.generate_mesh(data_model, model_name)
157
+
158
+ # Compare the number of entities with the reference file:
159
+ mesh_file = self.get_path_to_generated_file(
160
+ data_model=data_model, file_name=model_name, file_extension="msh"
161
+ )
162
+ reference_file = self.get_path_to_reference_file(
163
+ data_model=data_model, file_name=model_name, file_extension="msh"
164
+ )
165
+ self.compare_mesh_qualities(mesh_file, reference_file)
166
+
167
+ # Compare the regions files:
168
+ regions_file = self.get_path_to_generated_file(
169
+ data_model=data_model,
170
+ file_name=model_name,
171
+ file_extension="regions",
172
+ )
173
+ reference_regions_file = self.get_path_to_reference_file(
174
+ data_model=data_model,
175
+ file_name=model_name,
176
+ file_extension="regions",
177
+ )
178
+ self.compare_json_or_yaml_files(regions_file, reference_regions_file)
179
+
142
180
  # def test_CCT(self):
143
181
  # """
144
182
  # Checks if CCT geometry generators work correctly by comparing the number
tests/test_solvers.py CHANGED
@@ -241,6 +241,43 @@ class TestSolvers(FiQuSSolverTests):
241
241
  )
242
242
  self.compare_pos_files(pos_file, reference_pos_file, rel_tolerance=1e-3, abs_tolerance=1E-10)
243
243
 
244
+ def test_ConductorAC_CC(self):
245
+ """
246
+ Checks if ConductorAC Coated Conductor solver works correctly by comparing the results to the
247
+ reference results that were checked manually.
248
+ """
249
+ if os.getenv("CERNGETDP_VERSION_CAC_CC") is not None:
250
+ os_name = platform.system()
251
+
252
+ if os_name == "Linux":
253
+ self.getdp_path = linux_getdp_prefix_path / Path(f"cac_cc/bin/getdp_{os.getenv('CERNGETDP_VERSION_CAC_CC')}")
254
+ else:
255
+ self.getdp_path = windows_getdp_prefix_path / Path(f"cac_cc/getdp_{os.getenv('CERNGETDP_VERSION_CAC_CC')}.exe")
256
+ else:
257
+ print("CERNGETDP_VERSION_CAC_CC is not set. Using default getdp path from data settings.")
258
+
259
+ model_names = [
260
+ "TEST_CAC_CC",
261
+ ]
262
+ for model_name in model_names:
263
+ with self.subTest(model_name=model_name):
264
+ data_model: FDM = self.get_data_model(model_name)
265
+
266
+ self.solve(data_model, model_name)
267
+
268
+ # Compare the current density files:
269
+ pos_file = self.get_path_to_generated_file(
270
+ data_model=data_model,
271
+ file_name="last_magnetic_field",
272
+ file_extension="pos",
273
+ )
274
+ reference_pos_file = self.get_path_to_reference_file(
275
+ data_model=data_model,
276
+ file_name="last_magnetic_field",
277
+ file_extension="pos",
278
+ )
279
+ self.compare_pos_files(pos_file, reference_pos_file, rel_tolerance=1e-2, abs_tolerance=1E-10)
280
+
244
281
  def test_HomogenizedConductor(self):
245
282
  """
246
283
  Checks if HomogenizedConductor solver works correctly by comparing the results to the