fiqus 2026.1.1__py3-none-any.whl → 2026.1.3__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.
@@ -226,13 +226,6 @@ class MultipoleSolveNonLinearSolver(BaseModel):
226
226
  default='LinfNorm',
227
227
  description="It specifies the type of norm to be calculated for convergence assessment.",
228
228
  )
229
- integration_method: Union[None, Literal[
230
- "Euler", "Gear_2", "Gear_3", "Gear_4", "Gear_5", "Gear_6"
231
- ]] = Field(
232
- default="Euler",
233
- title="Integration Method",
234
- description="It specifies the type of integration method to be used.",
235
- )
236
229
 
237
230
  class MultipoleSolveTransientThermal(MultipoleSolveTransient_parent):
238
231
  """
@@ -109,7 +109,7 @@ class MainMultipole:
109
109
  This code generates the reference models for the FALCOND_C
110
110
  """
111
111
  ### hardcoded, we need only one reference
112
- if self.fdm.general.magnet_name == 'TEST_MULTIPOLE_FALCOND_C_TSA_COLLAR_POLE':
112
+ if 'FALCOND_C' in self.fdm.general.magnet_name.upper() and 'POLE' in self.fdm.general.magnet_name.upper():
113
113
  CUT_REFERENCE = True # self specify loop and surf
114
114
 
115
115
  L_col = [56, 57, 58, 35, 16, 49, 48, 47]
@@ -205,35 +205,20 @@ class MainMultipole:
205
205
 
206
206
  def solve_and_postprocess_getdp(self, gui: bool = False):
207
207
  an = AssignNaming(data=self.fdm)
208
- rg = RunGetdpMultipole(data=an, solution_folder=self.solution_folder, GetDP_path=self.GetDP_path,
209
- verbose=self.verbose)
210
- rg.loadRegionFiles()
211
- if self.fdm.magnet.solve.thermal.solve_type and self.fdm.magnet.geometry.thermal.use_TSA:
212
- rg.loadRegionCoordinateFile()
213
- rg.assemblePro()
214
- start_time = time.time()
215
- rg.solve_and_postprocess()
216
- rg.ending_step(gui)
217
- return time.time() - start_time
208
+ rg = RunGetdpMultipole(data=an, solution_folder=self.solution_folder, GetDP_path=self.GetDP_path, verbose=self.verbose)
218
209
 
219
- def solve_and_postprocess_getdp(self, gui: bool = False):
220
- an = AssignNaming(data=self.fdm)
221
- rg = RunGetdpMultipole(data=an, solution_folder=self.solution_folder, GetDP_path=self.GetDP_path,
222
- verbose=self.verbose)
223
210
  rg.loadRegionFiles()
224
- if self.fdm.magnet.solve.thermal.solve_type and self.fdm.magnet.geometry.thermal.use_TSA:
225
- rg.loadRegionCoordinateFile()
226
- rg.read_aux_file(os.path.join(self.mesh_folder, f"{self.fdm.general.magnet_name}_EM.aux"))
227
- rg.extract_half_turn_blocks()
211
+ rg.loadRegionCoordinateFile()
212
+ rg.read_aux_file(os.path.join(self.mesh_folder, f"{self.fdm.general.magnet_name}_EM.aux"))
213
+ rg.extract_half_turn_blocks()
228
214
  if self.fdm.magnet.geometry.thermal.use_TSA_new:
229
- rg.read_aux_file(os.path.join(self.mesh_folder,
230
- f"{self.fdm.general.magnet_name}_TH.aux")) # now load the thermal aux file
215
+ rg.read_aux_file(os.path.join(self.mesh_folder, f"{self.fdm.general.magnet_name}_TH.aux")) # now load the thermal aux file
231
216
  rg.extract_specific_TSA_lines()
217
+
232
218
  rg.assemblePro()
233
219
  start_time = time.time()
234
220
  rg.solve_and_postprocess()
235
221
  rg.ending_step(gui)
236
- return time.time() - start_time
237
222
 
238
223
 
239
224
  def post_process_getdp(self, gui: bool = False):
@@ -217,7 +217,7 @@ class Mesh:
217
217
  if not 'collar' in geometry.areas:
218
218
  raise Exception("Adding the reference segment without collar is not intended.")
219
219
  distance_ref = self.mesh.field.add("Distance")
220
- if self.data.general.magnet_name == 'TEST_MULTIPOLE_FALCOND_C_TSA_COLLAR_POLE':
220
+ if 'FALCOND_C' in self.data.general.magnet_name.upper() and 'POLE' in self.data.general.magnet_name.upper():
221
221
  lines = list(range(754, 855)) + list(range(910, 1011))
222
222
  self.mesh.field.setNumbers(distance_ref, "CurvesList", lines)
223
223
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fiqus
3
- Version: 2026.1.1
3
+ Version: 2026.1.3
4
4
  Summary: Source code for STEAM FiQuS tool
5
5
  Home-page: https://gitlab.cern.ch/steam/fiqus
6
6
  Author: STEAM Team
@@ -10,7 +10,7 @@ Classifier: Programming Language :: Python :: 3.11
10
10
  Requires-Python: >=3.11
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE.txt
13
- Requires-Dist: gmsh<5,>=4.13
13
+ Requires-Dist: gmsh==4.15.0
14
14
  Requires-Dist: h5py<4,>=3.10
15
15
  Requires-Dist: Jinja2<4,>=3.1
16
16
  Requires-Dist: matplotlib<4,>=3.8
@@ -44,7 +44,7 @@ Requires-Dist: setuptools==69.2.0; extra == "build"
44
44
  Requires-Dist: wheel==0.45.1; extra == "build"
45
45
  Requires-Dist: twine==6.0.1; extra == "build"
46
46
  Provides-Extra: all
47
- Requires-Dist: gmsh<5,>=4.13; extra == "all"
47
+ Requires-Dist: gmsh==4.15.0; extra == "all"
48
48
  Requires-Dist: h5py<4,>=3.10; extra == "all"
49
49
  Requires-Dist: Jinja2<4,>=3.1; extra == "all"
50
50
  Requires-Dist: matplotlib<4,>=3.8; extra == "all"
@@ -8,7 +8,7 @@ fiqus/data/DataFiQuSConductorAC_CC.py,sha256=fF_g2Ao5Q_vy2g5EcxSGbstHETYP2YKJH2B
8
8
  fiqus/data/DataFiQuSConductorAC_Rutherford.py,sha256=mEZYPqIMzovyt-7vwD16dMScwwrX2ZTkmn1MmZI4rNM,30037
9
9
  fiqus/data/DataFiQuSConductorAC_Strand.py,sha256=vyVcY9IIVbTvOVP1AkbTLafcv2TSM02BHQ6Fxy3ZDbY,38089
10
10
  fiqus/data/DataFiQuSHomogenizedConductor.py,sha256=2MIJHJ51nB3_7Gx4St0tFfKh07vFhVu3DzXVNvntsMY,22854
11
- fiqus/data/DataFiQuSMultipole.py,sha256=HPhRfVW58xqPzWrNNfrwcsvLSshMKv32CXaQA7qcQAw,43025
11
+ fiqus/data/DataFiQuSMultipole.py,sha256=GiErxzISEFWN6nbfH8IUlZ_hbvvgu64nWipd8ciTDa4,42746
12
12
  fiqus/data/DataFiQuSPancake3D.py,sha256=czgDU-h_XBq3OLqFOllr8zLx_MxQoCiWo84DsyOhhbo,136611
13
13
  fiqus/data/DataModelCommon.py,sha256=v78jhX4oL7aro2t2Uzo7HTvUIB2Z5_pOBL_gzd_dQcA,24255
14
14
  fiqus/data/DataMultipole.py,sha256=-T1RWiK9Z5WDOeRrzozR3M5hUN5GjJcr6E95NNeVzE0,7577
@@ -40,7 +40,7 @@ fiqus/mains/MainConductorAC_CC.py,sha256=R4hwF7uLScZDs6vUlt63JxPTEpcAkiCmpP_m5nv
40
40
  fiqus/mains/MainConductorAC_Rutherford.py,sha256=nmV5pAiMbypFQ-sRts5iAgEPOOsZyJNRTnKNvFQWdxQ,3084
41
41
  fiqus/mains/MainConductorAC_Strand.py,sha256=taZ10hr-c3Mmn83WwsKtar6Ezm3DvODwvmkem5_XZI4,5511
42
42
  fiqus/mains/MainHomogenizedConductor.py,sha256=MoxSJq1ypnldsOMyxq8kS-57WTDqCvCl-s6Jo-eqc8E,3962
43
- fiqus/mains/MainMultipole.py,sha256=jzMVszA5CNGlSh2RW1E-5UGU0sQSTFCNTcJBuR2mtog,14592
43
+ fiqus/mains/MainMultipole.py,sha256=lkf4sTdjiDo6OMmzMVIeabr44dQm672u4-IO77Xa9p8,13790
44
44
  fiqus/mains/MainPancake3D.py,sha256=JgmKqcjUOGmodxZoWXfLxKpp-w6_bX1r6XIhqNTQduU,23561
45
45
  fiqus/mains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
46
46
  fiqus/mesh_generators/MeshCCT.py,sha256=e2oERrb2Vp7W8eAptijFq1vi-cUbYS_T3jCDqH3foIg,11227
@@ -49,7 +49,7 @@ fiqus/mesh_generators/MeshConductorAC_Rutherford.py,sha256=xFrBLFInqrzZ-eTvHOv37
49
49
  fiqus/mesh_generators/MeshConductorAC_Strand.py,sha256=EvQ_adA1lUEcgfOQ9-m2G6FuWTioFRQrC0en-Nn_ztg,48041
50
50
  fiqus/mesh_generators/MeshConductorAC_Strand_RutherfordCopy.py,sha256=LundceEIHHgL3MDIVAk1pU1gyrEBtj2A43Jh7UoOdWE,48153
51
51
  fiqus/mesh_generators/MeshHomogenizedConductor.py,sha256=gkwBRssdV3IvCZybdbwKrOuOsp7kUO0yfsvavGGpYmY,13126
52
- fiqus/mesh_generators/MeshMultipole.py,sha256=fABC_BHIVagjHgAIcWewOopqROXCtUqwX7uHbEghfQg,137265
52
+ fiqus/mesh_generators/MeshMultipole.py,sha256=k-AD8XeZnRavEWY1fzGdxVIbPjwafXuugS78SLe4-vA,137294
53
53
  fiqus/mesh_generators/MeshPancake3D.py,sha256=u31glrOUPGityJ5S0z4n3SvI_Vqqyh62jv7OXIq3-lY,126975
54
54
  fiqus/mesh_generators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  fiqus/parsers/ParserCOND.py,sha256=qMx5S-oyMtD01OrbXUqvCEPU4mtZUxWYWFD-WWFx6Vs,41402
@@ -93,7 +93,7 @@ fiqus/pro_templates/separated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
93
93
  fiqus/utils/Utils.py,sha256=3mPtDLYJfZR0cQBlKkeexyc53Vs_A227QbBV7ATyV9Y,35420
94
94
  fiqus/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
95
  fiqus/utils/update_data_settings.py,sha256=8q4Qa3PGvm4aRNxp9CtIeZeA-RCev5zevnJ4c2tvhUw,1299
96
- fiqus-2026.1.1.dist-info/licenses/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
96
+ fiqus-2026.1.3.dist-info/licenses/LICENSE.txt,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
97
97
  tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
98
98
  tests/test_FiQuS.py,sha256=mlY5eRp-sE_ubaPG7HHAEsC4Q3iQwI76nfOclPg7m-M,15529
99
99
  tests/test_geometry_generators.py,sha256=D54RrPbh6MCH1MX-Z4ex_qE6ktoict8Moiw-jYBjDjc,10767
@@ -104,7 +104,7 @@ tests/utils/fiqus_test_classes.py,sha256=q7HxmvdZvDeA39KU8I410eYIb_dCePlQ75wGamM
104
104
  tests/utils/generate_reference_files_ConductorAC.py,sha256=F5KK1AmHg1AmjZL6wRoR4R4kPpQu5KyLZtk1EnDsS1I,1619
105
105
  tests/utils/generate_reference_files_Pancake3D.py,sha256=9sULcDOmbotrbYHz8DqGv6Km7ThfltnCHFojHUx193U,3126
106
106
  tests/utils/helpers.py,sha256=kG367_ZtjQbwKYLPL_UiIVyCU5RVLPBt-iYlydj4xbg,7048
107
- fiqus-2026.1.1.dist-info/METADATA,sha256=8hsubB5iGDhRky0B5vtSkLjrt1KQDxuH-A_PPnw6DZg,9219
108
- fiqus-2026.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
109
- fiqus-2026.1.1.dist-info/top_level.txt,sha256=oGzSIyoVc1zYg14o67zI3QFwWsJvqNzNT0-te9WbUQc,12
110
- fiqus-2026.1.1.dist-info/RECORD,,
107
+ fiqus-2026.1.3.dist-info/METADATA,sha256=v29KGRXNEvJcjTxrPUbJlamB-R-8VWNc_2EDMsXX11A,9217
108
+ fiqus-2026.1.3.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
109
+ fiqus-2026.1.3.dist-info/top_level.txt,sha256=oGzSIyoVc1zYg14o67zI3QFwWsJvqNzNT0-te9WbUQc,12
110
+ fiqus-2026.1.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5