struphy 3.0.1__tar.gz → 3.0.2__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 (304) hide show
  1. {struphy-3.0.1 → struphy-3.0.2}/LICENSE +1 -1
  2. {struphy-3.0.1/src/struphy.egg-info → struphy-3.0.2}/PKG-INFO +54 -52
  3. {struphy-3.0.1 → struphy-3.0.2}/README.md +2 -2
  4. {struphy-3.0.1 → struphy-3.0.2}/pyproject.toml +58 -52
  5. struphy-3.0.2/src/struphy/__init__.py +39 -0
  6. struphy-3.0.2/src/struphy/api/domains/__init__.py +3 -0
  7. struphy-3.0.2/src/struphy/api/equils/__init__.py +3 -0
  8. struphy-3.0.2/src/struphy/api/grids/__init__.py +3 -0
  9. struphy-3.0.2/src/struphy/api/maxwellians/__init__.py +3 -0
  10. struphy-3.0.2/src/struphy/api/models/__init__.py +83 -0
  11. struphy-3.0.2/src/struphy/api/ode/__init__.py +3 -0
  12. struphy-3.0.2/src/struphy/api/options/__init__.py +16 -0
  13. struphy-3.0.2/src/struphy/api/particles/__init__.py +15 -0
  14. struphy-3.0.2/src/struphy/api/perturbations/__init__.py +3 -0
  15. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/compile_struphy.mk +1 -1
  16. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/compile.py +17 -13
  17. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/format.py +28 -22
  18. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/main.py +11 -40
  19. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/params.py +6 -9
  20. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/test.py +9 -10
  21. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/tests/test_console.py +0 -10
  22. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/console_diagn.py +6 -8
  23. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/analytic.py +3 -3
  24. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/basis_projection_ops.py +61 -47
  25. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/mass.py +75 -59
  26. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/preconditioner.py +4 -1
  27. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/psydac_derham.py +3 -3
  28. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_basis_ops.py +2 -2
  29. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_eval_field.py +1 -1
  30. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_field_init.py +3 -5
  31. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_l2_projectors.py +1 -1
  32. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_local_projectors.py +2 -2
  33. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_mass_matrices.py +4 -4
  34. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_toarray_struphy.py +1 -1
  35. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_tosparse_struphy.py +1 -1
  36. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/xx_test_preconds.py +1 -1
  37. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities_local_projectors.py +1 -1
  38. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/equils.py +212 -137
  39. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_03/parameter-fig8.ini +1 -1
  40. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_generic_equils.py +3 -7
  41. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_mhd_equils.py +2 -2
  42. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_numerical_mhd_equil.py +1 -2
  43. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/domains.py +9 -1
  44. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/tests/test_domain.py +5 -5
  45. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/utilities.py +3 -3
  46. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/base.py +3 -2
  47. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/perturbations.py +35 -28
  48. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/tests/test_init_perturbations.py +1 -2
  49. struphy-3.0.2/src/struphy/io/options.py +268 -0
  50. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/test_maxwellians.py +5 -11
  51. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/schur_solver.py +4 -0
  52. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/solver.py +2 -2
  53. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/test_saddle_point_propagator.py +2 -3
  54. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/test_saddlepoint_massmatrices.py +1 -2
  55. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/main.py +16 -153
  56. struphy-3.0.2/src/struphy/models/__init__.py +79 -0
  57. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/base.py +55 -35
  58. struphy-3.0.2/src/struphy/models/cold_plasma.py +128 -0
  59. struphy-3.0.2/src/struphy/models/cold_plasma_vlasov.py +246 -0
  60. struphy-3.0.2/src/struphy/models/deterministic_particle_diffusion.py +91 -0
  61. struphy-3.0.2/src/struphy/models/drift_kinetic_electrostatic_adiabatic.py +232 -0
  62. struphy-3.0.2/src/struphy/models/euler_sph.py +140 -0
  63. struphy-3.0.2/src/struphy/models/guiding_center.py +130 -0
  64. struphy-3.0.2/src/struphy/models/hasegawa_wakatani.py +147 -0
  65. struphy-3.0.2/src/struphy/models/linear_extended_mh_duniform.py +195 -0
  66. struphy-3.0.2/src/struphy/models/linear_mhd.py +173 -0
  67. struphy-3.0.2/src/struphy/models/linear_mhd_driftkinetic_cc.py +330 -0
  68. struphy-3.0.2/src/struphy/models/linear_mhd_vlasov_cc.py +245 -0
  69. struphy-3.0.2/src/struphy/models/linear_mhd_vlasov_pc.py +272 -0
  70. struphy-3.0.2/src/struphy/models/linear_vlasov_ampere_one_species.py +276 -0
  71. struphy-3.0.2/src/struphy/models/linear_vlasov_maxwell_one_species.py +168 -0
  72. struphy-3.0.2/src/struphy/models/maxwell.py +100 -0
  73. struphy-3.0.2/src/struphy/models/poisson.py +129 -0
  74. struphy-3.0.2/src/struphy/models/pressure_less_sph.py +113 -0
  75. struphy-3.0.2/src/struphy/models/random_particle_diffusion.py +90 -0
  76. struphy-3.0.2/src/struphy/models/shear_alfven.py +132 -0
  77. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/species.py +46 -8
  78. struphy-3.0.2/src/struphy/models/tests/default_params/test_models.py +93 -0
  79. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/utils_testing.py +12 -47
  80. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_EulerSPH.py +9 -9
  81. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_LinearMHD.py +2 -8
  82. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_Maxwell.py +3 -9
  83. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_Poisson.py +4 -17
  84. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_VlasovAmpereOneSpecies.py +12 -12
  85. struphy-3.0.2/src/struphy/models/two_fluid_quasi_neutral_toy.py +130 -0
  86. struphy-3.0.2/src/struphy/models/utils.py +73 -0
  87. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/variables.py +36 -15
  88. struphy-3.0.2/src/struphy/models/variational_barotropic_fluid.py +123 -0
  89. struphy-3.0.2/src/struphy/models/variational_compressible_fluid.py +186 -0
  90. struphy-3.0.2/src/struphy/models/variational_pressureless_fluid.py +111 -0
  91. struphy-3.0.2/src/struphy/models/visco_resistive_deltaf_mhd.py +251 -0
  92. struphy-3.0.2/src/struphy/models/visco_resistive_deltaf_mhd_with_q.py +247 -0
  93. struphy-3.0.2/src/struphy/models/visco_resistive_linear_mhd.py +257 -0
  94. struphy-3.0.2/src/struphy/models/visco_resistive_linear_mhd_with_q.py +244 -0
  95. struphy-3.0.2/src/struphy/models/visco_resistive_mhd.py +255 -0
  96. struphy-3.0.2/src/struphy/models/visco_resistive_mhd_with_p.py +219 -0
  97. struphy-3.0.2/src/struphy/models/visco_resistive_mhd_with_q.py +228 -0
  98. struphy-3.0.2/src/struphy/models/viscous_euler_sph.py +142 -0
  99. struphy-3.0.2/src/struphy/models/viscous_fluid.py +209 -0
  100. struphy-3.0.2/src/struphy/models/vlasov.py +94 -0
  101. struphy-3.0.2/src/struphy/models/vlasov_ampere_one_species.py +253 -0
  102. struphy-3.0.2/src/struphy/models/vlasov_maxwell_one_species.py +270 -0
  103. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/tests/test_ode_feec.py +2 -2
  104. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/utils.py +46 -14
  105. struphy-3.0.1/src/struphy/pic/utilities.py → struphy-3.0.2/src/struphy/particles/parameters.py +22 -94
  106. struphy-3.0.2/src/struphy/physics/physics.py +150 -0
  107. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filter.py +2 -2
  108. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/particles_to_grid.py +1 -1
  109. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/base.py +151 -118
  110. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/particles.py +44 -176
  111. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher.py +1 -1
  112. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_accum_vec_H1.py +1 -2
  113. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_binning.py +438 -48
  114. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_draw_parallel.py +1 -2
  115. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_pushers.py +6 -12
  116. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_sorting.py +1 -2
  117. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_sph.py +12 -7
  118. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_tesselation.py +1 -3
  119. struphy-3.0.2/src/struphy/pic/utilities.py +77 -0
  120. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/cprofile_analyser.py +0 -1
  121. struphy-3.0.2/src/struphy/post_processing/likwid/plot_time_traces.py +377 -0
  122. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/__init__.py +2 -7
  123. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_coupling.py +34 -33
  124. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_fields.py +121 -125
  125. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_markers.py +12 -16
  126. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/test_gyrokinetic_poisson.py +1 -1
  127. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/test_poisson.py +8 -8
  128. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/utils.py +26 -91
  129. {struphy-3.0.1 → struphy-3.0.2/src/struphy.egg-info}/PKG-INFO +54 -52
  130. {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/SOURCES.txt +51 -10
  131. struphy-3.0.2/src/struphy.egg-info/requires.txt +70 -0
  132. struphy-3.0.1/src/struphy/fields_background/generic.py +0 -89
  133. struphy-3.0.1/src/struphy/io/options.py +0 -363
  134. struphy-3.0.1/src/struphy/models/__init__.py +0 -74
  135. struphy-3.0.1/src/struphy/models/fluid.py +0 -2559
  136. struphy-3.0.1/src/struphy/models/hybrid.py +0 -1012
  137. struphy-3.0.1/src/struphy/models/kinetic.py +0 -1096
  138. struphy-3.0.1/src/struphy/models/tests/default_params/test_models.py +0 -67
  139. struphy-3.0.1/src/struphy/models/toy.py +0 -1227
  140. struphy-3.0.1/src/struphy/physics/physics.py +0 -11
  141. struphy-3.0.1/src/struphy/post_processing/likwid/plot_time_traces.py +0 -412
  142. struphy-3.0.1/src/struphy/profiling/profiling.py +0 -347
  143. struphy-3.0.1/src/struphy.egg-info/requires.txt +0 -68
  144. {struphy-3.0.1 → struphy-3.0.2}/setup.cfg +0 -0
  145. {struphy-3.0.1/src/struphy → struphy-3.0.2/src/struphy/api}/__init__.py +0 -0
  146. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/__init__.py +0 -0
  147. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/bsplines.py +0 -0
  148. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/bsplines_kernels.py +0 -0
  149. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_1d.py +0 -0
  150. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_2d.py +0 -0
  151. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_3d.py +0 -0
  152. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/shapefunc_kernels.py +0 -0
  153. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/tests/__init__.py +0 -0
  154. /struphy-3.0.1/src/struphy/bsplines/tests/test_bsplines_kernels.py → /struphy-3.0.2/src/struphy/bsplines/tests/test_bsplines_kers.py +0 -0
  155. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/tests/test_eval_spline_mpi.py +0 -0
  156. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/conftest.py +0 -0
  157. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/__init__.py +0 -0
  158. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/likwid.py +0 -0
  159. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/parsers.py +0 -0
  160. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/profile.py +0 -0
  161. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dependencies.py +0 -0
  162. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/__init__.py +0 -0
  163. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/diagn_tools.py +0 -0
  164. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/__init__.py +0 -0
  165. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/mesh_creator.py +0 -0
  166. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/vtk_writer.py +0 -0
  167. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/__init__.py +0 -0
  168. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/base.py +0 -0
  169. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/utilities.py +0 -0
  170. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/eigenvalue_solvers/derivatives.py +0 -0
  171. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/_draw_parallel.py +0 -0
  172. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/restelli2018/__init__.py +0 -0
  173. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/restelli2018/callables.py +0 -0
  174. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/__init__.py +0 -0
  175. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/banded_to_stencil_kernels.py +0 -0
  176. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/basis_projection_kernels.py +0 -0
  177. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/linear_operators.py +0 -0
  178. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/local_projectors_kernels.py +0 -0
  179. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/mass_kernels.py +0 -0
  180. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/projectors.py +0 -0
  181. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/__init__.py +0 -0
  182. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_derham.py +0 -0
  183. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_lowdim_nel_is_1.py +0 -0
  184. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities.py +0 -0
  185. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities_kernels.py +0 -0
  186. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/variational_utilities.py +0 -0
  187. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/__init__.py +0 -0
  188. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/base.py +0 -0
  189. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/__init__.py +0 -0
  190. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/base.py +0 -0
  191. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/coil_fields.py +0 -0
  192. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/__init__.py +0 -0
  193. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/__init__.py +0 -0
  194. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/data/AUGNLED_g031213.00830.high +0 -0
  195. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/data/__init__.py +0 -0
  196. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/readeqdsk.py +0 -0
  197. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/__init__.py +0 -0
  198. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/output/__init__.py +0 -0
  199. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/output/vtk/__init__.py +0 -0
  200. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/CIRCTOK_State_0000_00000000.dat +0 -0
  201. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/CIRCTOK_State_0000_00001000.dat +0 -0
  202. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/parameter.ini +0 -0
  203. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/W7X_State_0000_00000000.dat +0 -0
  204. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/W7X_State_0000_00000100.dat +0 -0
  205. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/parameter-w7x.ini +0 -0
  206. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_03/NEO-SPITZER_State_0000_00000000.dat +0 -0
  207. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_03/NEO-SPITZER_State_0000_00003307.dat +0 -0
  208. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_03/Neo-spitzer-mirror23-well-opt-1-AR10-1.nc +0 -0
  209. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/vmec/__init__.py +0 -0
  210. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/projected_equils.py +0 -0
  211. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/__init__.py +0 -0
  212. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_desc_equil.py +0 -0
  213. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/__init__.py +0 -0
  214. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/base.py +0 -0
  215. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/evaluation_kernels.py +0 -0
  216. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/map_coef/__init__.py +0 -0
  217. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/mappings_kernels.py +0 -0
  218. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/tests/__init__.py +0 -0
  219. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/transform_kernels.py +0 -0
  220. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/utilities_kernels.py +0 -0
  221. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/__init__.py +0 -0
  222. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/eigenfunctions.py +0 -0
  223. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/tests/__init__.py +0 -0
  224. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/utilities.py +0 -0
  225. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/__init__.py +0 -0
  226. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/output_handling.py +0 -0
  227. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/setup.py +0 -0
  228. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/__init__.py +0 -0
  229. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/local_projectors_args_kernels.py +0 -0
  230. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/pusher_args_kernels.py +0 -0
  231. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/__init__.py +0 -0
  232. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/base.py +0 -0
  233. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/maxwellians.py +0 -0
  234. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/moment_functions.py +0 -0
  235. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/__init__.py +0 -0
  236. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/test_base.py +0 -0
  237. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/__init__.py +0 -0
  238. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/linalg_kernels.py +0 -0
  239. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/linalg_kron.py +0 -0
  240. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/saddle_point.py +0 -0
  241. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/stencil_dot_kernels.py +0 -0
  242. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/stencil_transpose_kernels.py +0 -0
  243. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/__init__.py +0 -0
  244. /struphy-3.0.1/src/struphy/linear_algebra/tests/test_stencil_dot_kernels.py → /struphy-3.0.2/src/struphy/linear_algebra/tests/test_stencil_dot_kers.py +0 -0
  245. /struphy-3.0.1/src/struphy/linear_algebra/tests/test_stencil_transpose_kernels.py → /struphy-3.0.2/src/struphy/linear_algebra/tests/test_stencil_transpose_kers.py +0 -0
  246. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/__init__.py +0 -0
  247. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/default_params/__init__.py +0 -0
  248. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/__init__.py +0 -0
  249. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/__init__.py +0 -0
  250. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/solvers.py +0 -0
  251. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/tests/__init__.py +0 -0
  252. {struphy-3.0.1/src/struphy/physics → struphy-3.0.2/src/struphy/particles}/__init__.py +0 -0
  253. {struphy-3.0.1/src/struphy/pic → struphy-3.0.2/src/struphy/physics}/__init__.py +0 -0
  254. {struphy-3.0.1/src/struphy/pic/accumulation → struphy-3.0.2/src/struphy/pic}/__init__.py +0 -0
  255. {struphy-3.0.1/src/struphy/pic/pushing → struphy-3.0.2/src/struphy/pic/accumulation}/__init__.py +0 -0
  256. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/accum_kernels.py +0 -0
  257. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/accum_kernels_gc.py +0 -0
  258. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filler_kernels.py +0 -0
  259. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filter_kernels.py +0 -0
  260. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/particle_to_mat_kernels.py +0 -0
  261. {struphy-3.0.1/src/struphy/pic/tests → struphy-3.0.2/src/struphy/pic/pushing}/__init__.py +0 -0
  262. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/eval_kernels_gc.py +0 -0
  263. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_kernels.py +0 -0
  264. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_kernels_gc.py +0 -0
  265. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_utilities_kernels.py +0 -0
  266. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sampling_kernels.py +0 -0
  267. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sobol_seq.py +0 -0
  268. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sorting_kernels.py +0 -0
  269. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sph_eval_kernels.py +0 -0
  270. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sph_smoothing_kernels.py +0 -0
  271. {struphy-3.0.1/src/struphy/polar → struphy-3.0.2/src/struphy/pic/tests}/__init__.py +0 -0
  272. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_mat_vec_filler.py +0 -0
  273. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/utilities_kernels.py +0 -0
  274. {struphy-3.0.1/src/struphy/polar/tests → struphy-3.0.2/src/struphy/polar}/__init__.py +0 -0
  275. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/basic.py +0 -0
  276. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/extraction_operators.py +0 -0
  277. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/linear_operators.py +0 -0
  278. {struphy-3.0.1/src/struphy/post_processing → struphy-3.0.2/src/struphy/polar/tests}/__init__.py +0 -0
  279. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/tests/test_polar.py +0 -0
  280. {struphy-3.0.1/src/struphy/post_processing/likwid → struphy-3.0.2/src/struphy/post_processing}/__init__.py +0 -0
  281. {struphy-3.0.1/src/struphy/post_processing/orbits → struphy-3.0.2/src/struphy/post_processing/likwid}/__init__.py +0 -0
  282. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/hardware_dicts.py +0 -0
  283. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/likwid_parser.py +0 -0
  284. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/maxplotlylib.py +0 -0
  285. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/plot_likwidproject.py +0 -0
  286. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/roofline_plotter.py +0 -0
  287. {struphy-3.0.1/src/struphy/post_processing/tests → struphy-3.0.2/src/struphy/post_processing/orbits}/__init__.py +0 -0
  288. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/orbits/orbits_kernels.py +0 -0
  289. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/orbits/orbits_tools.py +0 -0
  290. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/post_processing_tools.py +0 -0
  291. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/profile_struphy.py +0 -0
  292. {struphy-3.0.1/src/struphy/profiling → struphy-3.0.2/src/struphy/post_processing/tests}/__init__.py +0 -0
  293. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/base.py +0 -0
  294. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/__init__.py +0 -0
  295. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/topology/__init__.py +0 -0
  296. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/topology/grids.py +0 -0
  297. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/__init__.py +0 -0
  298. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/clone_config.py +0 -0
  299. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/cupy_vs_numpy.py +0 -0
  300. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/pyccel.py +0 -0
  301. {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/test_clone_config.py +0 -0
  302. {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/dependency_links.txt +0 -0
  303. {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/entry_points.txt +0 -0
  304. {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2025, Struphy developers, Max Planck Institute for Plasma Physics
1
+ Copyright (c) 2019-2026, Struphy developers, Max Planck Institute for Plasma Physics
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
4
4
  associated documentation files (the "Software"), to deal in the Software without restriction,
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: struphy
3
- Version: 3.0.1
3
+ Version: 3.0.2
4
4
  Summary: Multi-model plasma physics package
5
5
  Author: Max Planck Institute for Plasma Physics
6
6
  Author-email: stefan.possanner@ipp.mpg.de, max.lindqvist@ipp.mpg.de, eric.sonnendruecker@ipp.mpg.de
7
- License: Copyright (c) 2019-2025, Struphy developers, Max Planck Institute for Plasma Physics
7
+ License: Copyright (c) 2019-2026, Struphy developers, Max Planck Institute for Plasma Physics
8
8
 
9
9
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
10
10
  associated documentation files (the "Software"), to deal in the Software without restriction,
@@ -30,60 +30,61 @@ Classifier: Programming Language :: Python :: 3
30
30
  Requires-Python: >=3.10
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
33
- Requires-Dist: numpy<=2.2.6
34
- Requires-Dist: cunumpy<=0.1
35
- Requires-Dist: pyccel<=2.1.0,>=2.0
36
- Requires-Dist: feectools<=0.1.0
37
- Requires-Dist: scipy<=1.15.3
38
- Requires-Dist: h5py<=3.14.0
39
- Requires-Dist: matplotlib<=3.10.5
40
- Requires-Dist: pyyaml<=6.0.3
41
- Requires-Dist: vtk<=9.5.2
42
- Requires-Dist: tqdm<=4.67.1
43
- Requires-Dist: argcomplete<=3.6.3
44
- Requires-Dist: pytest<=9.0.2
45
- Requires-Dist: pytest-mpi<=0.6
46
- Requires-Dist: pytest-testmon<=2.2.0
47
- Requires-Dist: line_profiler<=5.0.0
33
+ Requires-Dist: numpy
34
+ Requires-Dist: cunumpy
35
+ Requires-Dist: pyccel>=2.1
36
+ Requires-Dist: feectools
37
+ Requires-Dist: scipy
38
+ Requires-Dist: h5py
39
+ Requires-Dist: matplotlib
40
+ Requires-Dist: pyyaml
41
+ Requires-Dist: vtk
42
+ Requires-Dist: tqdm
43
+ Requires-Dist: argcomplete
44
+ Requires-Dist: pytest
45
+ Requires-Dist: pytest-mpi
46
+ Requires-Dist: pytest-testmon
47
+ Requires-Dist: line_profiler
48
+ Requires-Dist: scope-profiler>=0.1.7
48
49
  Provides-Extra: phys
49
- Requires-Dist: gvec<=1.2.0,>=1.1.0; extra == "phys"
50
- Requires-Dist: desc-opt<=0.15.0; extra == "phys"
50
+ Requires-Dist: gvec>=1.1.0; extra == "phys"
51
+ Requires-Dist: desc-opt; extra == "phys"
51
52
  Provides-Extra: dev
52
53
  Requires-Dist: struphy[mpi]; extra == "dev"
53
- Requires-Dist: notebook<=7.4.7; extra == "dev"
54
- Requires-Dist: autopep8<=2.3.2; extra == "dev"
55
- Requires-Dist: isort<=7.0.0; extra == "dev"
56
- Requires-Dist: flake8<=7.3.0; extra == "dev"
57
- Requires-Dist: pylint<=4.0.2; extra == "dev"
58
- Requires-Dist: ssort<=0.15.0; extra == "dev"
59
- Requires-Dist: add-trailing-comma<=4.0.0; extra == "dev"
60
- Requires-Dist: ruff<=0.14.4,>=0.9.1; extra == "dev"
61
- Requires-Dist: pre-commit<=4.4.0; extra == "dev"
62
- Requires-Dist: nbstripout<=0.8.1; extra == "dev"
63
- Requires-Dist: tabulate<=0.9.0; extra == "dev"
64
- Requires-Dist: tomli-w<=1.2.0; extra == "dev"
65
- Requires-Dist: kaleido<=1.2.0; extra == "dev"
66
- Requires-Dist: pandas<=2.3.3; extra == "dev"
67
- Requires-Dist: plotly<=6.3.0; extra == "dev"
54
+ Requires-Dist: notebook; extra == "dev"
55
+ Requires-Dist: autopep8; extra == "dev"
56
+ Requires-Dist: isort; extra == "dev"
57
+ Requires-Dist: flake8; extra == "dev"
58
+ Requires-Dist: pylint; extra == "dev"
59
+ Requires-Dist: ssort; extra == "dev"
60
+ Requires-Dist: add-trailing-comma; extra == "dev"
61
+ Requires-Dist: ruff>=0.15.0; extra == "dev"
62
+ Requires-Dist: pre-commit; extra == "dev"
63
+ Requires-Dist: nbstripout; extra == "dev"
64
+ Requires-Dist: tabulate; extra == "dev"
65
+ Requires-Dist: tomli-w; extra == "dev"
66
+ Requires-Dist: kaleido; extra == "dev"
67
+ Requires-Dist: pandas; extra == "dev"
68
+ Requires-Dist: plotly; extra == "dev"
68
69
  Provides-Extra: mpi
69
- Requires-Dist: mpi4py<=4.1.1; extra == "mpi"
70
+ Requires-Dist: mpi4py; extra == "mpi"
70
71
  Provides-Extra: doc
71
72
  Requires-Dist: struphy[phys]; extra == "doc"
72
- Requires-Dist: jupyter<=1.1.1; extra == "doc"
73
- Requires-Dist: nbconvert<=6.5.4; extra == "doc"
74
- Requires-Dist: ipykernel<=7.1.0; extra == "doc"
75
- Requires-Dist: sphinx<=8.1.3; extra == "doc"
76
- Requires-Dist: sphinx-design<=0.6.1; extra == "doc"
77
- Requires-Dist: lxml_html_clean<=0.4.3; extra == "doc"
78
- Requires-Dist: sphinxcontrib-napoleon<=0.7; extra == "doc"
79
- Requires-Dist: sphinx-copybutton<=0.5.2; extra == "doc"
80
- Requires-Dist: pydata-sphinx-theme<=0.16.1; extra == "doc"
81
- Requires-Dist: nbsphinx<=0.9.7; extra == "doc"
82
- Requires-Dist: m2r2<=0.3.4; extra == "doc"
83
- Requires-Dist: myst-parser<=4.0.1; extra == "doc"
84
- Requires-Dist: mistune<=0.8.4; extra == "doc"
85
- Requires-Dist: docutils<=0.21.2; extra == "doc"
86
- Requires-Dist: ipyparallel<=9.0.2; extra == "doc"
73
+ Requires-Dist: jupyter; extra == "doc"
74
+ Requires-Dist: nbconvert; extra == "doc"
75
+ Requires-Dist: ipykernel; extra == "doc"
76
+ Requires-Dist: sphinx; extra == "doc"
77
+ Requires-Dist: sphinx-design; extra == "doc"
78
+ Requires-Dist: lxml_html_clean; extra == "doc"
79
+ Requires-Dist: sphinxcontrib-napoleon; extra == "doc"
80
+ Requires-Dist: sphinx-copybutton; extra == "doc"
81
+ Requires-Dist: pydata-sphinx-theme; extra == "doc"
82
+ Requires-Dist: nbsphinx; extra == "doc"
83
+ Requires-Dist: m2r2; extra == "doc"
84
+ Requires-Dist: myst-parser; extra == "doc"
85
+ Requires-Dist: mistune; extra == "doc"
86
+ Requires-Dist: docutils; extra == "doc"
87
+ Requires-Dist: ipyparallel; extra == "doc"
87
88
  Provides-Extra: likwid
88
89
  Requires-Dist: struphy[dev]; extra == "likwid"
89
90
  Requires-Dist: pylikwid; extra == "likwid"
@@ -92,6 +93,7 @@ Requires-Dist: struphy[phys]; extra == "all"
92
93
  Requires-Dist: struphy[dev]; extra == "all"
93
94
  Requires-Dist: struphy[mpi]; extra == "all"
94
95
  Requires-Dist: struphy[doc]; extra == "all"
96
+ Requires-Dist: struphy[likwid]; extra == "all"
95
97
  Dynamic: license-file
96
98
 
97
99
  <h1 align="center">
@@ -101,8 +103,8 @@ Dynamic: license-file
101
103
  [![Release](https://img.shields.io/github/v/release/struphy-hub/struphy?label=Release)](https://github.com/struphy-hub/struphy/releases)
102
104
  [![License](https://img.shields.io/badge/License-MIT-violet)](https://github.com/struphy-hub/struphy/blob/devel/LICENSE)
103
105
  [![badge](https://img.shields.io/badge/launch-tutorials-579ACA.svg?logo=data:image/png;base64,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)](https://mybinder.org/v2/gh/struphy-hub/struphy-tutorials/main)
104
- [![Ubuntu latest](https://github.com/struphy-hub/struphy/actions/workflows/ubuntu-latest.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/ubuntu-latest.yml)
105
- [![MacOS latest](https://github.com/struphy-hub/struphy/actions/workflows/macos-latest.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/macos-latest.yml)
106
+ [![Ubuntu latest](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml)
107
+ [![MacOS latest](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml)
106
108
  [![isort and ruff](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml)
107
109
  [![PyPI](https://img.shields.io/pypi/v/struphy?label=PyPI)](https://pypi.org/project/struphy/)
108
110
  [![PyPI Downloads](https://img.shields.io/pypi/dm/struphy.svg?label=PyPI%20downloads)](
@@ -5,8 +5,8 @@
5
5
  [![Release](https://img.shields.io/github/v/release/struphy-hub/struphy?label=Release)](https://github.com/struphy-hub/struphy/releases)
6
6
  [![License](https://img.shields.io/badge/License-MIT-violet)](https://github.com/struphy-hub/struphy/blob/devel/LICENSE)
7
7
  [![badge](https://img.shields.io/badge/launch-tutorials-579ACA.svg?logo=data:image/png;base64,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)](https://mybinder.org/v2/gh/struphy-hub/struphy-tutorials/main)
8
- [![Ubuntu latest](https://github.com/struphy-hub/struphy/actions/workflows/ubuntu-latest.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/ubuntu-latest.yml)
9
- [![MacOS latest](https://github.com/struphy-hub/struphy/actions/workflows/macos-latest.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/macos-latest.yml)
8
+ [![Ubuntu latest](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml)
9
+ [![MacOS latest](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml)
10
10
  [![isort and ruff](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml/badge.svg)](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml)
11
11
  [![PyPI](https://img.shields.io/pypi/v/struphy?label=PyPI)](https://pypi.org/project/struphy/)
12
12
  [![PyPI Downloads](https://img.shields.io/pypi/dm/struphy.svg?label=PyPI%20downloads)](
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "struphy"
9
- version = "3.0.1"
9
+ version = "3.0.2"
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.10"
12
12
  authors = [
@@ -21,23 +21,24 @@ keywords = [
21
21
  ]
22
22
  classifiers = [
23
23
  "Programming Language :: Python :: 3",
24
- ]
24
+ ]
25
25
  dependencies = [
26
- "numpy<=2.2.6",
27
- "cunumpy<=0.1",
28
- "pyccel<=2.1.0, >=2.0",
29
- "feectools<=0.1.0",
30
- "scipy<=1.15.3",
31
- "h5py<=3.14.0",
32
- "matplotlib<=3.10.5",
33
- "pyyaml<=6.0.3",
34
- "vtk<=9.5.2",
35
- "tqdm<=4.67.1",
36
- "argcomplete<=3.6.3",
37
- "pytest<=9.0.2",
38
- "pytest-mpi<=0.6",
39
- "pytest-testmon<=2.2.0",
40
- "line_profiler<=5.0.0",
26
+ 'numpy',
27
+ 'cunumpy',
28
+ 'pyccel>=2.1',
29
+ 'feectools',
30
+ 'scipy',
31
+ 'h5py',
32
+ 'matplotlib',
33
+ 'pyyaml',
34
+ 'vtk',
35
+ 'tqdm',
36
+ 'argcomplete',
37
+ 'pytest',
38
+ 'pytest-mpi',
39
+ 'pytest-testmon',
40
+ 'line_profiler',
41
+ 'scope-profiler>=0.1.7',
41
42
  ]
42
43
 
43
44
  [project.license]
@@ -45,47 +46,47 @@ file = "LICENSE"
45
46
 
46
47
  [project.optional-dependencies]
47
48
  phys = [
48
- "gvec<=1.2.0, >=1.1.0",
49
- "desc-opt<=0.15.0",
49
+ 'gvec>=1.1.0',
50
+ 'desc-opt',
50
51
  ]
51
52
  dev = [
52
53
  "struphy[mpi]",
53
- "notebook<=7.4.7",
54
- "autopep8<=2.3.2",
55
- "isort<=7.0.0",
56
- "flake8<=7.3.0",
57
- "pylint<=4.0.2",
58
- "ssort<=0.15.0",
59
- "add-trailing-comma<=4.0.0",
60
- "ruff<=0.14.4, >=0.9.1",
61
- "pre-commit<=4.4.0",
62
- "nbstripout<=0.8.1",
63
- "tabulate<=0.9.0",
64
- "tomli-w<=1.2.0",
65
- "kaleido<=1.2.0",
66
- "pandas<=2.3.3",
67
- "plotly<=6.3.0",
54
+ "notebook",
55
+ "autopep8",
56
+ "isort",
57
+ "flake8",
58
+ "pylint",
59
+ "ssort",
60
+ "add-trailing-comma",
61
+ "ruff>=0.15.0",
62
+ "pre-commit",
63
+ "nbstripout",
64
+ "tabulate",
65
+ "tomli-w",
66
+ "kaleido",
67
+ "pandas",
68
+ "plotly",
68
69
  ]
69
70
  mpi = [
70
- "mpi4py<=4.1.1",
71
+ 'mpi4py',
71
72
  ]
72
73
  doc = [
73
74
  "struphy[phys]",
74
- "jupyter<=1.1.1",
75
- "nbconvert<=6.5.4",
76
- "ipykernel<=7.1.0",
77
- "sphinx<=8.1.3",
78
- "sphinx-design<=0.6.1",
79
- "lxml_html_clean<=0.4.3",
80
- "sphinxcontrib-napoleon<=0.7",
81
- "sphinx-copybutton<=0.5.2",
82
- "pydata-sphinx-theme<=0.16.1",
83
- "nbsphinx<=0.9.7",
84
- "m2r2<=0.3.4",
85
- "myst-parser<=4.0.1",
86
- "mistune<=0.8.4",
87
- "docutils<=0.21.2",
88
- "ipyparallel<=9.0.2",
75
+ "jupyter",
76
+ "nbconvert",
77
+ "ipykernel",
78
+ "sphinx",
79
+ "sphinx-design",
80
+ "lxml_html_clean",
81
+ "sphinxcontrib-napoleon",
82
+ "sphinx-copybutton",
83
+ "pydata-sphinx-theme",
84
+ "nbsphinx",
85
+ "m2r2",
86
+ "myst-parser",
87
+ "mistune",
88
+ "docutils",
89
+ "ipyparallel",
89
90
  ]
90
91
  likwid = [
91
92
  "struphy[dev]",
@@ -96,6 +97,7 @@ all = [
96
97
  "struphy[dev]",
97
98
  "struphy[mpi]",
98
99
  "struphy[doc]",
100
+ "struphy[likwid]",
99
101
  ]
100
102
 
101
103
  [project.urls]
@@ -135,12 +137,17 @@ ignore = [
135
137
  [tool.isort]
136
138
  profile = "black"
137
139
  line_length = 120
140
+ # multi_line_output = 3
141
+ # include_trailing_comma = true
142
+ # force_grid_wrap = 0
143
+ # combine_as_imports = true
138
144
 
139
145
  [tool.pylint]
140
146
  max-line-length = 120
141
147
 
142
148
  [tool.ruff]
143
149
  line-length = 120
150
+ # exclude = ["__pyccel__"]
144
151
 
145
152
  [tool.ruff.lint]
146
153
  ignore = [
@@ -158,13 +165,12 @@ ignore = [
158
165
  "F405",
159
166
  "D211",
160
167
  "D213",
161
- "F841",
168
+ "F841", # Ignore unused variables
162
169
  ]
163
170
 
164
171
  [tool.pytest.ini_options]
165
172
  markers = [
166
173
  "models",
167
- "toy",
168
174
  "fluid",
169
175
  "kinetic",
170
176
  "hybrid",
@@ -0,0 +1,39 @@
1
+ from struphy.api.domains import domains
2
+ from struphy.api.equils import equils
3
+ from struphy.api.grids import grids
4
+ from struphy.api.maxwellians import maxwellians
5
+ from struphy.api.ode import ButcherTableau
6
+ from struphy.api.options import (
7
+ BaseUnits,
8
+ DerhamOptions,
9
+ EnvironmentOptions,
10
+ FieldsBackground,
11
+ Time,
12
+ )
13
+ from struphy.api.particles import (
14
+ BinningPlot,
15
+ BoundaryParameters,
16
+ KernelDensityPlot,
17
+ LoadingParameters,
18
+ WeightsParameters,
19
+ )
20
+ from struphy.api.perturbations import perturbations
21
+
22
+ __all__ = [
23
+ "domains",
24
+ "equils",
25
+ "grids",
26
+ "maxwellians",
27
+ "EnvironmentOptions",
28
+ "BaseUnits",
29
+ "Time",
30
+ "perturbations",
31
+ "LoadingParameters",
32
+ "WeightsParameters",
33
+ "BoundaryParameters",
34
+ "BinningPlot",
35
+ "KernelDensityPlot",
36
+ "DerhamOptions",
37
+ "FieldsBackground",
38
+ "ButcherTableau",
39
+ ]
@@ -0,0 +1,3 @@
1
+ from struphy.geometry import domains
2
+
3
+ __all__ = ["domains"]
@@ -0,0 +1,3 @@
1
+ from struphy.fields_background import equils
2
+
3
+ __all__ = ["equils"]
@@ -0,0 +1,3 @@
1
+ from struphy.topology import grids
2
+
3
+ __all__ = ["grids"]
@@ -0,0 +1,3 @@
1
+ from struphy.kinetic_background import maxwellians
2
+
3
+ __all__ = ["maxwellians"]
@@ -0,0 +1,83 @@
1
+ from struphy.models.cold_plasma import ColdPlasma
2
+ from struphy.models.cold_plasma_vlasov import ColdPlasmaVlasov
3
+ from struphy.models.deterministic_particle_diffusion import (
4
+ DeterministicParticleDiffusion,
5
+ )
6
+ from struphy.models.drift_kinetic_electrostatic_adiabatic import (
7
+ DriftKineticElectrostaticAdiabatic,
8
+ )
9
+ from struphy.models.euler_sph import EulerSPH
10
+ from struphy.models.guiding_center import GuidingCenter
11
+ from struphy.models.hasegawa_wakatani import HasegawaWakatani
12
+ from struphy.models.linear_extended_mh_duniform import LinearExtendedMHDuniform
13
+ from struphy.models.linear_mhd import LinearMHD
14
+ from struphy.models.linear_mhd_driftkinetic_cc import LinearMHDDriftkineticCC
15
+ from struphy.models.linear_mhd_vlasov_cc import LinearMHDVlasovCC
16
+ from struphy.models.linear_mhd_vlasov_pc import LinearMHDVlasovPC
17
+ from struphy.models.linear_vlasov_ampere_one_species import LinearVlasovAmpereOneSpecies
18
+ from struphy.models.linear_vlasov_maxwell_one_species import (
19
+ LinearVlasovMaxwellOneSpecies,
20
+ )
21
+ from struphy.models.maxwell import Maxwell
22
+ from struphy.models.poisson import Poisson
23
+ from struphy.models.pressure_less_sph import PressureLessSPH
24
+ from struphy.models.random_particle_diffusion import RandomParticleDiffusion
25
+ from struphy.models.shear_alfven import ShearAlfven
26
+ from struphy.models.two_fluid_quasi_neutral_toy import TwoFluidQuasiNeutralToy
27
+ from struphy.models.variational_barotropic_fluid import VariationalBarotropicFluid
28
+ from struphy.models.variational_compressible_fluid import VariationalCompressibleFluid
29
+ from struphy.models.variational_pressureless_fluid import VariationalPressurelessFluid
30
+ from struphy.models.visco_resistive_deltaf_mhd import ViscoResistiveDeltafMHD
31
+ from struphy.models.visco_resistive_deltaf_mhd_with_q import (
32
+ ViscoResistiveDeltafMHD_with_q,
33
+ )
34
+ from struphy.models.visco_resistive_linear_mhd import ViscoResistiveLinearMHD
35
+ from struphy.models.visco_resistive_linear_mhd_with_q import (
36
+ ViscoResistiveLinearMHD_with_q,
37
+ )
38
+ from struphy.models.visco_resistive_mhd import ViscoResistiveMHD
39
+ from struphy.models.visco_resistive_mhd_with_p import ViscoResistiveMHD_with_p
40
+ from struphy.models.visco_resistive_mhd_with_q import ViscoResistiveMHD_with_q
41
+ from struphy.models.viscous_euler_sph import ViscousEulerSPH
42
+ from struphy.models.viscous_fluid import ViscousFluid
43
+ from struphy.models.vlasov import Vlasov
44
+ from struphy.models.vlasov_ampere_one_species import VlasovAmpereOneSpecies
45
+ from struphy.models.vlasov_maxwell_one_species import VlasovMaxwellOneSpecies
46
+
47
+ __all__ = [
48
+ "ColdPlasma",
49
+ "ColdPlasmaVlasov",
50
+ "DeterministicParticleDiffusion",
51
+ "DriftKineticElectrostaticAdiabatic",
52
+ "EulerSPH",
53
+ "GuidingCenter",
54
+ "HasegawaWakatani",
55
+ "LinearExtendedMHDuniform",
56
+ "LinearMHD",
57
+ "LinearMHDDriftkineticCC",
58
+ "LinearMHDVlasovCC",
59
+ "LinearMHDVlasovPC",
60
+ "LinearVlasovAmpereOneSpecies",
61
+ "LinearVlasovMaxwellOneSpecies",
62
+ "Maxwell",
63
+ "Poisson",
64
+ "PressureLessSPH",
65
+ "RandomParticleDiffusion",
66
+ "ShearAlfven",
67
+ "TwoFluidQuasiNeutralToy",
68
+ "VariationalBarotropicFluid",
69
+ "VariationalCompressibleFluid",
70
+ "VariationalPressurelessFluid",
71
+ "ViscoResistiveDeltafMHD",
72
+ "ViscoResistiveDeltafMHD_with_q",
73
+ "ViscoResistiveLinearMHD",
74
+ "ViscoResistiveLinearMHD_with_q",
75
+ "ViscoResistiveMHD",
76
+ "ViscoResistiveMHD_with_p",
77
+ "ViscoResistiveMHD_with_q",
78
+ "ViscousEulerSPH",
79
+ "ViscousFluid",
80
+ "Vlasov",
81
+ "VlasovAmpereOneSpecies",
82
+ "VlasovMaxwellOneSpecies",
83
+ ]
@@ -0,0 +1,3 @@
1
+ from struphy.ode.utils import ButcherTableau
2
+
3
+ all = ["ButcherTableau"]
@@ -0,0 +1,16 @@
1
+ from struphy.io.options import (
2
+ BaseUnits,
3
+ DerhamOptions,
4
+ EnvironmentOptions,
5
+ FieldsBackground,
6
+ Time,
7
+ )
8
+
9
+ __all__ = [
10
+ "EnvironmentOptions",
11
+ "BaseUnits",
12
+ "Time",
13
+ #
14
+ "DerhamOptions",
15
+ "FieldsBackground",
16
+ ]
@@ -0,0 +1,15 @@
1
+ from struphy.particles.parameters import (
2
+ BinningPlot,
3
+ BoundaryParameters,
4
+ KernelDensityPlot,
5
+ LoadingParameters,
6
+ WeightsParameters,
7
+ )
8
+
9
+ __all__ = [
10
+ "LoadingParameters",
11
+ "WeightsParameters",
12
+ "BoundaryParameters",
13
+ "BinningPlot",
14
+ "KernelDensityPlot",
15
+ ]
@@ -0,0 +1,3 @@
1
+ from struphy.initial import perturbations
2
+
3
+ __all__ = ["perturbations"]
@@ -35,7 +35,7 @@ all: $(OUTPUTS)
35
35
  @for dep in $^ ; do \
36
36
  echo $$dep ; \
37
37
  done
38
- pyccel $(FLAGS) $(FLAGS_openmp_pic) $(FLAGS_openmp_mhd) $<
38
+ pyccel compile -v $(FLAGS) $(FLAGS_openmp_pic) $(FLAGS_openmp_mhd) $<
39
39
  @echo ""
40
40
 
41
41
  #--------------------------------------
@@ -1,6 +1,4 @@
1
- import sys
2
-
3
- from struphy.utils.utils import subp_run
1
+ from struphy.utils.utils import STRUPHY_LIBPATH, subp_run
4
2
 
5
3
 
6
4
  def struphy_compile(
@@ -21,7 +19,7 @@ def struphy_compile(
21
19
  Parameters
22
20
  ----------
23
21
  language : str
24
- Either "c" (default) or "fortran".
22
+ Either "fortran" (default) or "c".
25
23
 
26
24
  compiler : str
27
25
  Either "GNU" (default), "intel", "PGI", "nvidia", or "LLVM"
@@ -67,7 +65,7 @@ def struphy_compile(
67
65
  import struphy.dependencies as depmod
68
66
  import struphy.utils.utils as utils
69
67
 
70
- libpath = struphy.__path__[0]
68
+ libpath = STRUPHY_LIBPATH
71
69
 
72
70
  so_suffix = sysconfig.get_config_var("EXT_SUFFIX")
73
71
 
@@ -107,6 +105,11 @@ def struphy_compile(
107
105
  if delete:
108
106
  # (change dir not to be in source path)
109
107
  print("\nDeleting .f90/.c and .so files ...")
108
+ # TODO: for using pyccel clean in the future
109
+ # cmd = [
110
+ # "pyccel",
111
+ # "clean",
112
+ # ]
110
113
  cmd = [
111
114
  "make",
112
115
  "clean",
@@ -272,6 +275,15 @@ def struphy_compile(
272
275
 
273
276
  # compilation
274
277
  print("\nCompiling Struphy kernels ...")
278
+ kernel_file = os.path.join(libpath, "kernels.txt")
279
+ # TODO: for using pyccel make in the future
280
+ # cmd = [
281
+ # "pyccel",
282
+ # "make",
283
+ # "-d",
284
+ # kernel_file,
285
+ # "-v",
286
+ # ]
275
287
  cmd = [
276
288
  "make",
277
289
  "-f",
@@ -290,11 +302,3 @@ def struphy_compile(
290
302
  "--status",
291
303
  ]
292
304
  subp_run(cmd)
293
-
294
- # collect available models
295
- print("")
296
- cmd = [
297
- "struphy",
298
- "--refresh-models",
299
- ]
300
- subp_run(cmd)