fiqus 2025.10.0__tar.gz → 2025.11.0__tar.gz

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.
Files changed (91) hide show
  1. {fiqus-2025.10.0 → fiqus-2025.11.0}/PKG-INFO +1 -1
  2. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/MainFiQuS.py +20 -19
  3. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus.egg-info/PKG-INFO +1 -1
  4. {fiqus-2025.10.0 → fiqus-2025.11.0}/setup.py +1 -1
  5. {fiqus-2025.10.0 → fiqus-2025.11.0}/LICENSE.txt +0 -0
  6. {fiqus-2025.10.0 → fiqus-2025.11.0}/README.md +0 -0
  7. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/__init__.py +0 -0
  8. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataConductor.py +0 -0
  9. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuS.py +0 -0
  10. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuSCCT.py +0 -0
  11. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuSConductor.py +0 -0
  12. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuSConductorAC_Strand.py +0 -0
  13. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuSMultipole.py +0 -0
  14. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataFiQuSPancake3D.py +0 -0
  15. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataModelCommon.py +0 -0
  16. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataMultipole.py +0 -0
  17. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataRoxieParser.py +0 -0
  18. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataSettings.py +0 -0
  19. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/DataWindingsCCT.py +0 -0
  20. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/RegionsModelFiQuS.py +0 -0
  21. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/data/__init__.py +0 -0
  22. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/GeometryCCT.py +0 -0
  23. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/GeometryConductorAC_Strand.py +0 -0
  24. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/GeometryMultipole.py +0 -0
  25. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/GeometryPancake3D.py +0 -0
  26. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/GeometryPancake3DUtils.py +0 -0
  27. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/geom_generators/__init__.py +0 -0
  28. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/getdp_runners/RunGetdpCCT.py +0 -0
  29. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/getdp_runners/RunGetdpConductorAC_Strand.py +0 -0
  30. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/getdp_runners/RunGetdpMultipole.py +0 -0
  31. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/getdp_runners/RunGetdpPancake3D.py +0 -0
  32. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/getdp_runners/__init__.py +0 -0
  33. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mains/MainCCT.py +0 -0
  34. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mains/MainConductorAC_Strand.py +0 -0
  35. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mains/MainMultipole.py +0 -0
  36. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mains/MainPancake3D.py +0 -0
  37. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mains/__init__.py +0 -0
  38. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mesh_generators/MeshCCT.py +0 -0
  39. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mesh_generators/MeshConductorAC_Strand.py +0 -0
  40. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mesh_generators/MeshMultipole.py +0 -0
  41. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mesh_generators/MeshPancake3D.py +0 -0
  42. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/mesh_generators/__init__.py +0 -0
  43. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserCOND.py +0 -0
  44. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserDAT.py +0 -0
  45. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserGetDPOnSection.py +0 -0
  46. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserGetDPTimeTable.py +0 -0
  47. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserMSH.py +0 -0
  48. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserPOS.py +0 -0
  49. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/ParserRES.py +0 -0
  50. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/parsers/__init__.py +0 -0
  51. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/plotters/PlotPythonCCT.py +0 -0
  52. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/plotters/PlotPythonConductorAC.py +0 -0
  53. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/plotters/PlotPythonMultipole.py +0 -0
  54. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/plotters/__init__.py +0 -0
  55. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/post_processors/PostProcessCCT.py +0 -0
  56. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/post_processors/PostProcessConductorAC.py +0 -0
  57. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/post_processors/PostProcessMultipole.py +0 -0
  58. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/post_processors/PostProcessPancake3D.py +0 -0
  59. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/post_processors/__init__.py +0 -0
  60. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pre_processors/PreProcessCCT.py +0 -0
  61. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pre_processors/__init__.py +0 -0
  62. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_assemblers/ProAssembler.py +0 -0
  63. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_assemblers/__init__.py +0 -0
  64. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_material_functions/ironBHcurves.pro +0 -0
  65. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/__init__.py +0 -0
  66. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/CCT_template.pro +0 -0
  67. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/ConductorAC_template.pro +0 -0
  68. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/Multipole_template.pro +0 -0
  69. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/Pancake3D_template.pro +0 -0
  70. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/TSA_materials.pro +0 -0
  71. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/__init__.py +0 -0
  72. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/combined/materials.pro +0 -0
  73. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/pro_templates/separated/__init__.py +0 -0
  74. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/utils/Utils.py +0 -0
  75. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/utils/__init__.py +0 -0
  76. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus/utils/update_data_settings.py +0 -0
  77. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus.egg-info/SOURCES.txt +0 -0
  78. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus.egg-info/dependency_links.txt +0 -0
  79. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus.egg-info/requires.txt +0 -0
  80. {fiqus-2025.10.0 → fiqus-2025.11.0}/fiqus.egg-info/top_level.txt +0 -0
  81. {fiqus-2025.10.0 → fiqus-2025.11.0}/setup.cfg +0 -0
  82. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/__init__.py +0 -0
  83. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/test_FiQuS.py +0 -0
  84. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/test_geometry_generators.py +0 -0
  85. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/test_mesh_generators.py +0 -0
  86. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/test_solvers.py +0 -0
  87. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/utils/__init__.py +0 -0
  88. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/utils/fiqus_test_classes.py +0 -0
  89. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/utils/generate_reference_files_ConductorAC.py +0 -0
  90. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/utils/generate_reference_files_Pancake3D.py +0 -0
  91. {fiqus-2025.10.0 → fiqus-2025.11.0}/tests/utils/helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fiqus
3
- Version: 2025.10.0
3
+ Version: 2025.11.0
4
4
  Summary: Source code for STEAM FiQuS tool
5
5
  Home-page: https://gitlab.cern.ch/steam/fiqus
6
6
  Author: STEAM Team
@@ -19,7 +19,7 @@ from fiqus.utils.Utils import CheckForExceptions as Check
19
19
  from fiqus.utils.Utils import create_json_schema
20
20
  from fiqus.utils.Utils import get_data_settings
21
21
  from fiqus.utils.Utils import initialize_logger
22
- from fiqus.data.DataFiQuS import FDM
22
+ from fiqus.data.DataFiQuS import FDM, SolveDumpDataModel
23
23
  from fiqus.data.DataSettings import DataSettings
24
24
  from fiqus.mains.MainCCT import MainCCT
25
25
  from fiqus.mains.MainMultipole import MainMultipole
@@ -86,22 +86,10 @@ class MainFiQuS:
86
86
  # Initialize Main object
87
87
  if self.fdm.magnet.type == "CCT_straight":
88
88
  self.main_magnet = MainCCT(fdm=self.fdm, verbose=verbose)
89
- elif self.fdm.magnet.type == "CWS":
90
- self.main_magnet = MainCWS(
91
- fdm=self.fdm,
92
- inputs_folder_path=pathlib.Path(input_file_path).parent,
93
- verbose=self.fdm.run.verbosity_FiQuS,
94
- )
95
89
  elif self.fdm.magnet.type == "Pancake3D":
96
90
  self.main_magnet = MainPancake3D(fdm=self.fdm, verbose=verbose)
97
91
  elif self.fdm.magnet.type == "CACStrand":
98
92
  self.main_magnet = MainConductorAC_Strand(fdm=self.fdm, inputs_folder_path=pathlib.Path(input_file_path).parent, outputs_folder_path=model_folder, verbose=verbose)
99
- elif self.fdm.magnet.type == "CACRutherford":
100
- self.main_magnet = MainConductorAC_Rutherford(fdm=self.fdm, inputs_folder_path=pathlib.Path(input_file_path).parent, verbose=verbose)
101
- elif self.fdm.magnet.type == "Racetrack":
102
- self.main_magnet = MainRacetrack(fdm=self.fdm, verbose=verbose)
103
- elif self.fdm.magnet.type == "Racetrack3D":
104
- self.main_magnet = MainRacetrack3D(fdm=self.fdm, inputs_folder_path=pathlib.Path(input_file_path).parent, verbose=verbose)
105
93
  elif self.fdm.magnet.type == "multipole":
106
94
  self.file_name = os.path.basename(input_file_path)[:-5]
107
95
  if not self.fdm.magnet.geometry.geom_file_path:
@@ -230,7 +218,7 @@ class MainFiQuS:
230
218
  else: # post_process_getdp_only or post_process_python_only or plot_python
231
219
  required_folders = []
232
220
 
233
- fdm = self.main_magnet.fdm.magnet
221
+
234
222
 
235
223
  self.main_magnet.geom_folder = _check_and_generate_path(folder_type="Geometry")
236
224
  if not self.fdm.run.type in ["geometry_only"]:
@@ -250,7 +238,7 @@ class MainFiQuS:
250
238
  ]:
251
239
  Util.write_data_model_to_yaml(
252
240
  os.path.join(self.main_magnet.geom_folder, "geometry.yaml"),
253
- fdm.geometry,
241
+ self.fdm.magnet.geometry,
254
242
  by_alias=True,
255
243
  with_comments=True,
256
244
  )
@@ -262,7 +250,7 @@ class MainFiQuS:
262
250
  ]:
263
251
  Util.write_data_model_to_yaml(
264
252
  os.path.join(self.main_magnet.mesh_folder, "mesh.yaml"),
265
- fdm.mesh,
253
+ self.fdm.magnet.mesh,
266
254
  by_alias=True,
267
255
  with_comments=True,
268
256
  )
@@ -272,11 +260,20 @@ class MainFiQuS:
272
260
  "solve_with_post_process_python",
273
261
  "solve_only",
274
262
  "post_process",
275
- "plot_python"
263
+ "plot_python",
264
+ "postprocess_veusz"
276
265
  ]:
266
+ solve_dump_data = SolveDumpDataModel(
267
+ solve=self.fdm.magnet.solve,
268
+ circuit=self.fdm.circuit,
269
+ power_supply=self.fdm.power_supply,
270
+ quench_protection=self.fdm.quench_protection,
271
+ quench_detection=self.fdm.quench_detection,
272
+ conductors=self.fdm.conductors
273
+ )
277
274
  Util.write_data_model_to_yaml(
278
275
  os.path.join(self.main_magnet.solution_folder, "solve.yaml"),
279
- fdm.solve,
276
+ solve_dump_data,
280
277
  by_alias=True,
281
278
  with_comments=True,
282
279
  )
@@ -287,11 +284,12 @@ class MainFiQuS:
287
284
  "post_process_python_only",
288
285
  "post_process_getdp_only",
289
286
  "post_process",
287
+ "postprocess_veusz",
290
288
  "plot_python"
291
289
  ]:
292
290
  Util.write_data_model_to_yaml(
293
291
  os.path.join(self.main_magnet.solution_folder, "postproc.yaml"),
294
- fdm.postproc,
292
+ self.fdm.magnet.postproc,
295
293
  by_alias=True,
296
294
  with_comments=True,
297
295
  )
@@ -337,6 +335,7 @@ class MainFiQuS:
337
335
  except:
338
336
  self.logger.warning("Run log could not be completed.")
339
337
 
338
+
340
339
  def build_magnet(self):
341
340
  """
342
341
  Main method to build magnets, i.e. to run various fiqus run types and magnet types
@@ -389,6 +388,8 @@ class MainFiQuS:
389
388
  self.summary["solution_time"] = (
390
389
  self.main_magnet.solve_and_postprocess_getdp(gui=self.main_magnet.fdm.run.launch_gui)
391
390
  )
391
+ elif self.fdm.run.type == "postprocess_veusz":
392
+ self.main_magnet.post_process_veusz(gui=self.main_magnet.fdm.run.launch_gui)
392
393
  elif self.fdm.run.type == "post_process_getdp_only":
393
394
  self.main_magnet.post_process_getdp(gui=self.main_magnet.fdm.run.launch_gui)
394
395
  elif self.fdm.run.type == "post_process_python_only":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fiqus
3
- Version: 2025.10.0
3
+ Version: 2025.11.0
4
4
  Summary: Source code for STEAM FiQuS tool
5
5
  Home-page: https://gitlab.cern.ch/steam/fiqus
6
6
  Author: STEAM Team
@@ -38,7 +38,7 @@ all_requirements = required + docs_require + tests_require + build_require
38
38
 
39
39
  setup(
40
40
  name="fiqus",
41
- version="2025.10.0",
41
+ version="2025.11.0",
42
42
  author="STEAM Team",
43
43
  author_email="steam-team@cern.ch",
44
44
  description="Source code for STEAM FiQuS tool",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes