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.
- {struphy-3.0.1 → struphy-3.0.2}/LICENSE +1 -1
- {struphy-3.0.1/src/struphy.egg-info → struphy-3.0.2}/PKG-INFO +54 -52
- {struphy-3.0.1 → struphy-3.0.2}/README.md +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/pyproject.toml +58 -52
- struphy-3.0.2/src/struphy/__init__.py +39 -0
- struphy-3.0.2/src/struphy/api/domains/__init__.py +3 -0
- struphy-3.0.2/src/struphy/api/equils/__init__.py +3 -0
- struphy-3.0.2/src/struphy/api/grids/__init__.py +3 -0
- struphy-3.0.2/src/struphy/api/maxwellians/__init__.py +3 -0
- struphy-3.0.2/src/struphy/api/models/__init__.py +83 -0
- struphy-3.0.2/src/struphy/api/ode/__init__.py +3 -0
- struphy-3.0.2/src/struphy/api/options/__init__.py +16 -0
- struphy-3.0.2/src/struphy/api/particles/__init__.py +15 -0
- struphy-3.0.2/src/struphy/api/perturbations/__init__.py +3 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/compile_struphy.mk +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/compile.py +17 -13
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/format.py +28 -22
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/main.py +11 -40
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/params.py +6 -9
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/test.py +9 -10
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/tests/test_console.py +0 -10
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/console_diagn.py +6 -8
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/analytic.py +3 -3
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/basis_projection_ops.py +61 -47
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/mass.py +75 -59
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/preconditioner.py +4 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/psydac_derham.py +3 -3
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_basis_ops.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_eval_field.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_field_init.py +3 -5
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_l2_projectors.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_local_projectors.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_mass_matrices.py +4 -4
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_toarray_struphy.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_tosparse_struphy.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/xx_test_preconds.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities_local_projectors.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/equils.py +212 -137
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_03/parameter-fig8.ini +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_generic_equils.py +3 -7
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_mhd_equils.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_numerical_mhd_equil.py +1 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/domains.py +9 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/tests/test_domain.py +5 -5
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/utilities.py +3 -3
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/base.py +3 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/perturbations.py +35 -28
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/tests/test_init_perturbations.py +1 -2
- struphy-3.0.2/src/struphy/io/options.py +268 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/test_maxwellians.py +5 -11
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/schur_solver.py +4 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/solver.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/test_saddle_point_propagator.py +2 -3
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/test_saddlepoint_massmatrices.py +1 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/main.py +16 -153
- struphy-3.0.2/src/struphy/models/__init__.py +79 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/base.py +55 -35
- struphy-3.0.2/src/struphy/models/cold_plasma.py +128 -0
- struphy-3.0.2/src/struphy/models/cold_plasma_vlasov.py +246 -0
- struphy-3.0.2/src/struphy/models/deterministic_particle_diffusion.py +91 -0
- struphy-3.0.2/src/struphy/models/drift_kinetic_electrostatic_adiabatic.py +232 -0
- struphy-3.0.2/src/struphy/models/euler_sph.py +140 -0
- struphy-3.0.2/src/struphy/models/guiding_center.py +130 -0
- struphy-3.0.2/src/struphy/models/hasegawa_wakatani.py +147 -0
- struphy-3.0.2/src/struphy/models/linear_extended_mh_duniform.py +195 -0
- struphy-3.0.2/src/struphy/models/linear_mhd.py +173 -0
- struphy-3.0.2/src/struphy/models/linear_mhd_driftkinetic_cc.py +330 -0
- struphy-3.0.2/src/struphy/models/linear_mhd_vlasov_cc.py +245 -0
- struphy-3.0.2/src/struphy/models/linear_mhd_vlasov_pc.py +272 -0
- struphy-3.0.2/src/struphy/models/linear_vlasov_ampere_one_species.py +276 -0
- struphy-3.0.2/src/struphy/models/linear_vlasov_maxwell_one_species.py +168 -0
- struphy-3.0.2/src/struphy/models/maxwell.py +100 -0
- struphy-3.0.2/src/struphy/models/poisson.py +129 -0
- struphy-3.0.2/src/struphy/models/pressure_less_sph.py +113 -0
- struphy-3.0.2/src/struphy/models/random_particle_diffusion.py +90 -0
- struphy-3.0.2/src/struphy/models/shear_alfven.py +132 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/species.py +46 -8
- struphy-3.0.2/src/struphy/models/tests/default_params/test_models.py +93 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/utils_testing.py +12 -47
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_EulerSPH.py +9 -9
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_LinearMHD.py +2 -8
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_Maxwell.py +3 -9
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_Poisson.py +4 -17
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/test_verif_VlasovAmpereOneSpecies.py +12 -12
- struphy-3.0.2/src/struphy/models/two_fluid_quasi_neutral_toy.py +130 -0
- struphy-3.0.2/src/struphy/models/utils.py +73 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/variables.py +36 -15
- struphy-3.0.2/src/struphy/models/variational_barotropic_fluid.py +123 -0
- struphy-3.0.2/src/struphy/models/variational_compressible_fluid.py +186 -0
- struphy-3.0.2/src/struphy/models/variational_pressureless_fluid.py +111 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_deltaf_mhd.py +251 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_deltaf_mhd_with_q.py +247 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_linear_mhd.py +257 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_linear_mhd_with_q.py +244 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_mhd.py +255 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_mhd_with_p.py +219 -0
- struphy-3.0.2/src/struphy/models/visco_resistive_mhd_with_q.py +228 -0
- struphy-3.0.2/src/struphy/models/viscous_euler_sph.py +142 -0
- struphy-3.0.2/src/struphy/models/viscous_fluid.py +209 -0
- struphy-3.0.2/src/struphy/models/vlasov.py +94 -0
- struphy-3.0.2/src/struphy/models/vlasov_ampere_one_species.py +253 -0
- struphy-3.0.2/src/struphy/models/vlasov_maxwell_one_species.py +270 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/tests/test_ode_feec.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/utils.py +46 -14
- struphy-3.0.1/src/struphy/pic/utilities.py → struphy-3.0.2/src/struphy/particles/parameters.py +22 -94
- struphy-3.0.2/src/struphy/physics/physics.py +150 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filter.py +2 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/particles_to_grid.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/base.py +151 -118
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/particles.py +44 -176
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_accum_vec_H1.py +1 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_binning.py +438 -48
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_draw_parallel.py +1 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_pushers.py +6 -12
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_sorting.py +1 -2
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_sph.py +12 -7
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_tesselation.py +1 -3
- struphy-3.0.2/src/struphy/pic/utilities.py +77 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/cprofile_analyser.py +0 -1
- struphy-3.0.2/src/struphy/post_processing/likwid/plot_time_traces.py +377 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/__init__.py +2 -7
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_coupling.py +34 -33
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_fields.py +121 -125
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/propagators_markers.py +12 -16
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/test_gyrokinetic_poisson.py +1 -1
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/test_poisson.py +8 -8
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/utils.py +26 -91
- {struphy-3.0.1 → struphy-3.0.2/src/struphy.egg-info}/PKG-INFO +54 -52
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/SOURCES.txt +51 -10
- struphy-3.0.2/src/struphy.egg-info/requires.txt +70 -0
- struphy-3.0.1/src/struphy/fields_background/generic.py +0 -89
- struphy-3.0.1/src/struphy/io/options.py +0 -363
- struphy-3.0.1/src/struphy/models/__init__.py +0 -74
- struphy-3.0.1/src/struphy/models/fluid.py +0 -2559
- struphy-3.0.1/src/struphy/models/hybrid.py +0 -1012
- struphy-3.0.1/src/struphy/models/kinetic.py +0 -1096
- struphy-3.0.1/src/struphy/models/tests/default_params/test_models.py +0 -67
- struphy-3.0.1/src/struphy/models/toy.py +0 -1227
- struphy-3.0.1/src/struphy/physics/physics.py +0 -11
- struphy-3.0.1/src/struphy/post_processing/likwid/plot_time_traces.py +0 -412
- struphy-3.0.1/src/struphy/profiling/profiling.py +0 -347
- struphy-3.0.1/src/struphy.egg-info/requires.txt +0 -68
- {struphy-3.0.1 → struphy-3.0.2}/setup.cfg +0 -0
- {struphy-3.0.1/src/struphy → struphy-3.0.2/src/struphy/api}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/bsplines.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/bsplines_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_1d.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_2d.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/evaluation_kernels_3d.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/shapefunc_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/tests/__init__.py +0 -0
- /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
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/bsplines/tests/test_eval_spline_mpi.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/conftest.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/likwid.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/parsers.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/console/profile.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dependencies.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/diagn_tools.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/mesh_creator.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/diagnostics/paraview/vtk_writer.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/dispersion_relations/utilities.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/eigenvalue_solvers/derivatives.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/_draw_parallel.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/restelli2018/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/examples/restelli2018/callables.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/banded_to_stencil_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/basis_projection_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/linear_operators.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/local_projectors_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/mass_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/projectors.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_derham.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/tests/test_lowdim_nel_is_1.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/utilities_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/feec/variational_utilities.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/coil_fields/coil_fields.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/data/AUGNLED_g031213.00830.high +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/data/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/eqdsk/readeqdsk.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/output/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/output/vtk/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/CIRCTOK_State_0000_00000000.dat +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/CIRCTOK_State_0000_00001000.dat +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_01/parameter.ini +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/W7X_State_0000_00000000.dat +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/W7X_State_0000_00000100.dat +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/gvec/run_02/parameter-w7x.ini +0 -0
- {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
- {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
- {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
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/mhd_equil/vmec/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/projected_equils.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/fields_background/tests/test_desc_equil.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/evaluation_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/map_coef/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/mappings_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/transform_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/geometry/utilities_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/eigenfunctions.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/initial/utilities.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/output_handling.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/io/setup.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/local_projectors_args_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kernel_arguments/pusher_args_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/maxwellians.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/moment_functions.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/kinetic_background/tests/test_base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/linalg_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/linalg_kron.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/saddle_point.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/stencil_dot_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/stencil_transpose_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/linear_algebra/tests/__init__.py +0 -0
- /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
- /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
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/default_params/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/models/tests/verification/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/solvers.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/ode/tests/__init__.py +0 -0
- {struphy-3.0.1/src/struphy/physics → struphy-3.0.2/src/struphy/particles}/__init__.py +0 -0
- {struphy-3.0.1/src/struphy/pic → struphy-3.0.2/src/struphy/physics}/__init__.py +0 -0
- {struphy-3.0.1/src/struphy/pic/accumulation → struphy-3.0.2/src/struphy/pic}/__init__.py +0 -0
- {struphy-3.0.1/src/struphy/pic/pushing → struphy-3.0.2/src/struphy/pic/accumulation}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/accum_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/accum_kernels_gc.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filler_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/filter_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/accumulation/particle_to_mat_kernels.py +0 -0
- {struphy-3.0.1/src/struphy/pic/tests → struphy-3.0.2/src/struphy/pic/pushing}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/eval_kernels_gc.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_kernels_gc.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/pushing/pusher_utilities_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sampling_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sobol_seq.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sorting_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sph_eval_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/sph_smoothing_kernels.py +0 -0
- {struphy-3.0.1/src/struphy/polar → struphy-3.0.2/src/struphy/pic/tests}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/tests/test_mat_vec_filler.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/pic/utilities_kernels.py +0 -0
- {struphy-3.0.1/src/struphy/polar/tests → struphy-3.0.2/src/struphy/polar}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/basic.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/extraction_operators.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/linear_operators.py +0 -0
- {struphy-3.0.1/src/struphy/post_processing → struphy-3.0.2/src/struphy/polar/tests}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/polar/tests/test_polar.py +0 -0
- {struphy-3.0.1/src/struphy/post_processing/likwid → struphy-3.0.2/src/struphy/post_processing}/__init__.py +0 -0
- {struphy-3.0.1/src/struphy/post_processing/orbits → struphy-3.0.2/src/struphy/post_processing/likwid}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/hardware_dicts.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/likwid_parser.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/maxplotlylib.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/plot_likwidproject.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/likwid/roofline_plotter.py +0 -0
- {struphy-3.0.1/src/struphy/post_processing/tests → struphy-3.0.2/src/struphy/post_processing/orbits}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/orbits/orbits_kernels.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/orbits/orbits_tools.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/post_processing_tools.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/post_processing/profile_struphy.py +0 -0
- {struphy-3.0.1/src/struphy/profiling → struphy-3.0.2/src/struphy/post_processing/tests}/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/base.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/propagators/tests/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/topology/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/topology/grids.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/__init__.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/clone_config.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/cupy_vs_numpy.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/pyccel.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy/utils/test_clone_config.py +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/dependency_links.txt +0 -0
- {struphy-3.0.1 → struphy-3.0.2}/src/struphy.egg-info/entry_points.txt +0 -0
- {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-
|
|
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.
|
|
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-
|
|
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
|
|
34
|
-
Requires-Dist: cunumpy
|
|
35
|
-
Requires-Dist: pyccel
|
|
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
|
|
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
|
|
50
|
-
Requires-Dist: desc-opt
|
|
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
|
|
54
|
-
Requires-Dist: autopep8
|
|
55
|
-
Requires-Dist: isort
|
|
56
|
-
Requires-Dist: flake8
|
|
57
|
-
Requires-Dist: pylint
|
|
58
|
-
Requires-Dist: ssort
|
|
59
|
-
Requires-Dist: add-trailing-comma
|
|
60
|
-
Requires-Dist: ruff
|
|
61
|
-
Requires-Dist: pre-commit
|
|
62
|
-
Requires-Dist: nbstripout
|
|
63
|
-
Requires-Dist: tabulate
|
|
64
|
-
Requires-Dist: tomli-w
|
|
65
|
-
Requires-Dist: kaleido
|
|
66
|
-
Requires-Dist: pandas
|
|
67
|
-
Requires-Dist: plotly
|
|
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
|
|
70
|
+
Requires-Dist: mpi4py; extra == "mpi"
|
|
70
71
|
Provides-Extra: doc
|
|
71
72
|
Requires-Dist: struphy[phys]; extra == "doc"
|
|
72
|
-
Requires-Dist: jupyter
|
|
73
|
-
Requires-Dist: nbconvert
|
|
74
|
-
Requires-Dist: ipykernel
|
|
75
|
-
Requires-Dist: sphinx
|
|
76
|
-
Requires-Dist: sphinx-design
|
|
77
|
-
Requires-Dist: lxml_html_clean
|
|
78
|
-
Requires-Dist: sphinxcontrib-napoleon
|
|
79
|
-
Requires-Dist: sphinx-copybutton
|
|
80
|
-
Requires-Dist: pydata-sphinx-theme
|
|
81
|
-
Requires-Dist: nbsphinx
|
|
82
|
-
Requires-Dist: m2r2
|
|
83
|
-
Requires-Dist: myst-parser
|
|
84
|
-
Requires-Dist: mistune
|
|
85
|
-
Requires-Dist: docutils
|
|
86
|
-
Requires-Dist: ipyparallel
|
|
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
|
[](https://github.com/struphy-hub/struphy/releases)
|
|
102
104
|
[](https://github.com/struphy-hub/struphy/blob/devel/LICENSE)
|
|
103
105
|
[](https://mybinder.org/v2/gh/struphy-hub/struphy-tutorials/main)
|
|
104
|
-
[](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml)
|
|
107
|
+
[](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml)
|
|
106
108
|
[](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml)
|
|
107
109
|
[](https://pypi.org/project/struphy/)
|
|
108
110
|
[](
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
[](https://github.com/struphy-hub/struphy/releases)
|
|
6
6
|
[](https://github.com/struphy-hub/struphy/blob/devel/LICENSE)
|
|
7
7
|
[](https://mybinder.org/v2/gh/struphy-hub/struphy-tutorials/main)
|
|
8
|
-
[](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-ubuntu.yml)
|
|
9
|
+
[](https://github.com/struphy-hub/struphy/actions/workflows/scheduled-macos.yml)
|
|
10
10
|
[](https://github.com/struphy-hub/struphy/actions/workflows/static_analysis.yml)
|
|
11
11
|
[](https://pypi.org/project/struphy/)
|
|
12
12
|
[](
|
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
|
6
6
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "struphy"
|
|
9
|
-
version = "3.0.
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
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
|
-
|
|
49
|
-
|
|
49
|
+
'gvec>=1.1.0',
|
|
50
|
+
'desc-opt',
|
|
50
51
|
]
|
|
51
52
|
dev = [
|
|
52
53
|
"struphy[mpi]",
|
|
53
|
-
"notebook
|
|
54
|
-
"autopep8
|
|
55
|
-
"isort
|
|
56
|
-
"flake8
|
|
57
|
-
"pylint
|
|
58
|
-
"ssort
|
|
59
|
-
"add-trailing-comma
|
|
60
|
-
"ruff
|
|
61
|
-
"pre-commit
|
|
62
|
-
"nbstripout
|
|
63
|
-
"tabulate
|
|
64
|
-
"tomli-w
|
|
65
|
-
"kaleido
|
|
66
|
-
"pandas
|
|
67
|
-
"plotly
|
|
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
|
-
|
|
71
|
+
'mpi4py',
|
|
71
72
|
]
|
|
72
73
|
doc = [
|
|
73
74
|
"struphy[phys]",
|
|
74
|
-
"jupyter
|
|
75
|
-
"nbconvert
|
|
76
|
-
"ipykernel
|
|
77
|
-
"sphinx
|
|
78
|
-
"sphinx-design
|
|
79
|
-
"lxml_html_clean
|
|
80
|
-
"sphinxcontrib-napoleon
|
|
81
|
-
"sphinx-copybutton
|
|
82
|
-
"pydata-sphinx-theme
|
|
83
|
-
"nbsphinx
|
|
84
|
-
"m2r2
|
|
85
|
-
"myst-parser
|
|
86
|
-
"mistune
|
|
87
|
-
"docutils
|
|
88
|
-
"ipyparallel
|
|
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,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,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
|
+
]
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
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 "
|
|
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 =
|
|
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)
|