struphy 2.4.0__tar.gz → 2.4.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-2.4.0/src/struphy.egg-info → struphy-2.4.2}/PKG-INFO +45 -5
- struphy-2.4.2/README.md +55 -0
- {struphy-2.4.0 → struphy-2.4.2}/pyproject.toml +5 -4
- struphy-2.4.2/src/struphy/bsplines/evaluation_kernels_3d.py +1679 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/conftest.py +15 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/compile.py +14 -5
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/format.py +18 -34
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/main.py +44 -6
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/params.py +4 -4
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/pproc.py +15 -3
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/run.py +6 -0
- struphy-2.4.2/src/struphy/console/test.py +186 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/tests/test_console.py +14 -3
- struphy-2.4.2/src/struphy/diagnostics/console_diagn.py +410 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/continuous_spectra.py +2 -1
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/diagn_tools.py +354 -344
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/dispersion_relations/analytic.py +1 -1
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/kernels_2d.py +8 -12
- struphy-2.4.2/src/struphy/eigenvalue_solvers/kernels_3d.py +234 -0
- struphy-2.4.2/src/struphy/eigenvalue_solvers/kernels_projectors_global_mhd.py +1434 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/examples/_draw_parallel.py +18 -17
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/basis_projection_ops.py +43 -36
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/mass.py +50 -58
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/preconditioner.py +36 -36
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/projectors.py +23 -23
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/psydac_derham.py +693 -482
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_basis_ops.py +283 -313
- struphy-2.4.2/src/struphy/feec/tests/test_eval_field.py +533 -0
- struphy-2.4.2/src/struphy/feec/tests/test_field_init.py +1372 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_l2_projectors.py +70 -68
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_local_projectors.py +18 -18
- struphy-2.4.2/src/struphy/feec/tests/test_lowdim_nel_is_1.py +317 -0
- struphy-2.4.2/src/struphy/feec/tests/test_mass_matrices.py +1154 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/xx_test_preconds.py +37 -34
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/utilities.py +139 -103
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/variational_utilities.py +1 -1
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil → struphy-2.4.2/src/struphy/fields_background}/base.py +687 -315
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil → struphy-2.4.2/src/struphy/fields_background}/equils.py +287 -148
- struphy-2.4.2/src/struphy/fields_background/generic.py +79 -0
- struphy-2.4.2/src/struphy/fields_background/projected_equils.py +375 -0
- struphy-2.4.2/src/struphy/fields_background/tests/test_desc_equil.py +233 -0
- struphy-2.4.2/src/struphy/fields_background/tests/test_generic_equils.py +92 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/tests/test_gvec_equil.py +1 -1
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/tests/test_mhd_equils.py +429 -323
- struphy-2.4.2/src/struphy/fields_background/tests/test_numerical_mhd_equil.py +131 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/base.py +161 -80
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/domains.py +51 -42
- struphy-2.4.2/src/struphy/geometry/evaluation_kernels.py +952 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/mappings_kernels.py +173 -174
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/utilities.py +193 -48
- struphy-2.4.2/src/struphy/initial/eigenfunctions.py +197 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/initial/perturbations.py +16 -63
- struphy-2.4.2/src/struphy/initial/tests/test_init_perturbations.py +318 -0
- struphy-2.4.2/src/struphy/initial/utilities.py +103 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/parameters.yml +43 -46
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_02.yml +10 -12
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_04a.yml +6 -8
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_04b.yml +6 -9
- struphy-2.4.2/src/struphy/io/inp/verification/IsothermalEulerSPH_soundwave.yml +47 -0
- struphy-2.4.2/src/struphy/io/inp/verification/LinearVlasovAmpereOneSpecies_weakLandau.yml +67 -0
- struphy-2.4.2/src/struphy/io/inp/verification/VlasovAmpereOneSpecies_weakLandau.yml +66 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/setup.py +39 -240
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/kinetic_background/base.py +263 -106
- struphy-2.4.2/src/struphy/kinetic_background/maxwellians.py +601 -0
- struphy-2.4.2/src/struphy/kinetic_background/moment_functions.py +54 -0
- struphy-2.4.2/src/struphy/kinetic_background/tests/test_maxwellians.py +1649 -0
- struphy-2.4.2/src/struphy/linear_algebra/tests/test_stencil_dot_kernels.py +292 -0
- struphy-2.4.2/src/struphy/linear_algebra/tests/test_stencil_transpose_kernels.py +276 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/main.py +46 -30
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/base.py +399 -440
- struphy-2.4.2/src/struphy/models/fluid.py +1479 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/hybrid.py +46 -46
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/kinetic.py +72 -76
- struphy-2.4.2/src/struphy/models/tests/test_fluid_models.py +28 -0
- struphy-2.4.2/src/struphy/models/tests/test_hybrid_models.py +28 -0
- struphy-2.4.2/src/struphy/models/tests/test_kinetic_models.py +28 -0
- struphy-2.4.2/src/struphy/models/tests/test_toy_models.py +28 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/tests/test_xxpproc.py +20 -33
- struphy-2.4.2/src/struphy/models/tests/util.py +426 -0
- struphy-2.4.2/src/struphy/models/tests/verification.py +239 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/toy.py +40 -41
- struphy-2.4.2/src/struphy/pic/accumulation/accum_kernels.py +1506 -0
- struphy-2.4.2/src/struphy/pic/accumulation/accum_kernels_gc.py +850 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/accumulation/particles_to_grid.py +23 -17
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/base.py +1654 -863
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/particles.py +189 -231
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/eval_kernels_gc.py +256 -105
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/pusher.py +118 -107
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/pusher_args_kernels.py +63 -28
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/pusher_kernels.py +262 -374
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/pusher_kernels_gc.py +721 -427
- struphy-2.4.2/src/struphy/pic/sampling_kernels.py +118 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/sorting_kernels.py +37 -5
- struphy-2.4.2/src/struphy/pic/sph_eval_kernels.py +518 -0
- struphy-2.4.2/src/struphy/pic/sph_smoothing_kernels.py +654 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_accum_vec_H1.py +17 -16
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_accumulation.py +326 -165
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_binning.py +115 -131
- struphy-2.4.2/src/struphy/pic/tests/test_draw_parallel.py +143 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pushers.py +291 -185
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_sorting.py +9 -7
- struphy-2.4.2/src/struphy/pic/tests/test_sph.py +158 -0
- struphy-2.4.2/src/struphy/pic/tests/test_tesselation.py +194 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/utilities.py +26 -16
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/utilities_kernels.py +3 -6
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/cprofile_analyser.py +55 -55
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/post_processing_tools.py +219 -169
- struphy-2.4.2/src/struphy/post_processing/pproc_struphy.py +283 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/base.py +7 -7
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/propagators_coupling.py +5 -637
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/propagators_fields.py +548 -134
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/propagators_markers.py +169 -30
- struphy-2.4.2/src/struphy/psydac-2.4.2.dev0-py3-none-any.whl +0 -0
- struphy-2.4.2/src/struphy/tutorials/tests/test_tutorials.py +175 -0
- struphy-2.4.2/src/struphy/utils/clone_config.py +261 -0
- struphy-2.4.2/src/struphy/utils/test_clone_config.py +39 -0
- struphy-2.4.2/src/struphy/utils/utils.py +102 -0
- {struphy-2.4.0 → struphy-2.4.2/src/struphy.egg-info}/PKG-INFO +45 -5
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy.egg-info/SOURCES.txt +16 -9
- struphy-2.4.2/src/struphy.egg-info/entry_points.txt +3 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy.egg-info/requires.txt +1 -2
- struphy-2.4.0/README.md +0 -15
- struphy-2.4.0/src/struphy/bsplines/evaluation_kernels_3d.py +0 -1095
- struphy-2.4.0/src/struphy/console/test.py +0 -137
- struphy-2.4.0/src/struphy/diagnostics/console_diagn.py +0 -280
- struphy-2.4.0/src/struphy/eigenvalue_solvers/kernels_3d.py +0 -152
- struphy-2.4.0/src/struphy/eigenvalue_solvers/kernels_projectors_global_mhd.py +0 -965
- struphy-2.4.0/src/struphy/feec/tests/test_eval_field.py +0 -276
- struphy-2.4.0/src/struphy/feec/tests/test_field_init.py +0 -1191
- struphy-2.4.0/src/struphy/feec/tests/test_lowdim_nel_is_1.py +0 -290
- struphy-2.4.0/src/struphy/feec/tests/test_mass_matrices.py +0 -1227
- struphy-2.4.0/src/struphy/fields_background/braginskii_equil/base.py +0 -550
- struphy-2.4.0/src/struphy/fields_background/braginskii_equil/equils.py +0 -120
- struphy-2.4.0/src/struphy/fields_background/fluid_equils/base.py +0 -366
- struphy-2.4.0/src/struphy/fields_background/fluid_equils/equils.py +0 -49
- struphy-2.4.0/src/struphy/fields_background/mhd_equil/projected_equils.py +0 -291
- struphy-2.4.0/src/struphy/fields_background/tests/test_desc_equil.py +0 -220
- struphy-2.4.0/src/struphy/fields_background/tests/test_numerical_mhd_equil.py +0 -152
- struphy-2.4.0/src/struphy/geometry/evaluation_kernels.py +0 -551
- struphy-2.4.0/src/struphy/initial/eigenfunctions.py +0 -193
- struphy-2.4.0/src/struphy/initial/tests/test_init_perturbations.py +0 -339
- struphy-2.4.0/src/struphy/initial/utilities.py +0 -74
- struphy-2.4.0/src/struphy/kinetic_background/maxwellians.py +0 -1392
- struphy-2.4.0/src/struphy/kinetic_background/tests/test_maxwellians.py +0 -1830
- struphy-2.4.0/src/struphy/linear_algebra/tests/test_stencil_dot_kernels.py +0 -296
- struphy-2.4.0/src/struphy/linear_algebra/tests/test_stencil_transpose_kernels.py +0 -282
- struphy-2.4.0/src/struphy/models/fluid.py +0 -1126
- struphy-2.4.0/src/struphy/models/tests/test_fluid_models.py +0 -53
- struphy-2.4.0/src/struphy/models/tests/test_hybrid_models.py +0 -53
- struphy-2.4.0/src/struphy/models/tests/test_kinetic_models.py +0 -53
- struphy-2.4.0/src/struphy/models/tests/test_toy_models.py +0 -42
- struphy-2.4.0/src/struphy/models/tests/util.py +0 -214
- struphy-2.4.0/src/struphy/pic/accumulation/accum_kernels.py +0 -1744
- struphy-2.4.0/src/struphy/pic/accumulation/accum_kernels_gc.py +0 -862
- struphy-2.4.0/src/struphy/pic/sampling_kernels.py +0 -88
- struphy-2.4.0/src/struphy/pic/sph_eval_kernels.py +0 -239
- struphy-2.4.0/src/struphy/pic/tests/test_draw_parallel.py +0 -115
- struphy-2.4.0/src/struphy/pic/tests/test_sph.py +0 -74
- struphy-2.4.0/src/struphy/post_processing/pproc_struphy.py +0 -285
- struphy-2.4.0/src/struphy/psydac-2.4.0-py3-none-any.whl +0 -0
- struphy-2.4.0/src/struphy/tutorials/tests/test_tutorials.py +0 -175
- struphy-2.4.0/src/struphy/utils/utils.py +0 -77
- struphy-2.4.0/src/struphy.egg-info/entry_points.txt +0 -2
- {struphy-2.4.0 → struphy-2.4.2}/LICENSE +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/setup.cfg +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/bsplines.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/bsplines_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/evaluation_kernels_1d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/evaluation_kernels_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/shapefunc_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/tests/test_bsplines_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/bsplines/tests/test_eval_spline_mpi.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/compile_struphy.mk +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/profile.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/console/units.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/dependencies.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/paraview/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/paraview/mesh_creator.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/diagnostics/paraview/vtk_writer.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/dispersion_relations/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/dispersion_relations/base.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/dispersion_relations/utilities.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/derivatives.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/kernels_projectors_global.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/MHD_eigenvalues_cylinder_1D.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kernels_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/fB_massless_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/fB_massless_kernels_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/fnB_massless_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/fnB_massless_cv_kernel_2.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/fnB_massless_kernels_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/massless_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/massless_cvker.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/control_variates/kinetic_extended/massless_kernels_control_variate.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/emw_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/inner_products_1d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/inner_products_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/inner_products_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/l2_error_1d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/l2_error_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/l2_error_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/mass_matrices_3d_pre.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/fB_arrays.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/fB_bb_kernel.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/fB_bv_kernel.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/fB_massless_linear_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/massless_operators/fB_vv_kernel.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/mhd_operators_MF.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/pro_local/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/pro_local/kernels_projectors_local.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/pro_local/kernels_projectors_local_mhd.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/pro_local/mhd_operators_3d_local.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/pro_local/projectors_local.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/shape_pro_local/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/shape_pro_local/shape_L2_projector_kernel.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/shape_pro_local/shape_function_projectors_L2.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/shape_pro_local/shape_function_projectors_local.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/legacy/projectors_local/shape_pro_local/shape_local_projector_kernel.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mass_matrices_1d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mass_matrices_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mass_matrices_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mhd_axisymmetric_main.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mhd_axisymmetric_pproc.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mhd_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/mhd_operators_core.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/projectors_global.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/spline_space.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/eigenvalue_solvers/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/banded_to_stencil_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/basis_projection_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/linear_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/local_projectors_args_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/local_projectors_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/mass_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_derham.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_toarray_struphy.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/tests/test_tosparse_struphy.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/utilities_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/feec/utilities_local_projectors.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/braginskii_equil → struphy-2.4.2/src/struphy/fields_background/mhd_equil}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil → struphy-2.4.2/src/struphy/fields_background/mhd_equil/eqdsk}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/eqdsk/data/AUGNLED_g031213.00830.high +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/eqdsk → struphy-2.4.2/src/struphy/fields_background/mhd_equil/eqdsk/data}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/eqdsk/readeqdsk.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/eqdsk/data → struphy-2.4.2/src/struphy/fields_background/mhd_equil/gvec}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/newBC_E1D6_M6N6/GVEC_ELLIPSTELL_V2_State_0000_00200000.dat +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/newBC_E1D6_M6N6/parameter.ini +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/newBC_E4D6_M6N6/GVEC_ELLIPSTELL_V2_State_0000_00200000.dat +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/newBC_E4D6_M6N6/parameter.ini +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/oldBC_E40D5M6N6/GVEC_ELLIPSTELL_V2_State_0000_00200000.dat +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/fields_background/mhd_equil/gvec/ellipstell_v2/oldBC_E40D5M6N6/parameter.ini +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/gvec → struphy-2.4.2/src/struphy/fields_background/mhd_equil/gvec/output}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/gvec/output → struphy-2.4.2/src/struphy/fields_background/mhd_equil/gvec/output/vtk}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/gvec/output/vtk → struphy-2.4.2/src/struphy/fields_background/mhd_equil/vmec}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/mhd_equil/vmec → struphy-2.4.2/src/struphy/fields_background/tests}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/fields_background/tests → struphy-2.4.2/src/struphy/geometry}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/geometry → struphy-2.4.2/src/struphy/geometry/map_coef}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/geometry/map_coef → struphy-2.4.2/src/struphy/geometry/tests}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/tests/test_domain.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/transform_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/geometry/utilities_kernels.py +0 -0
- {struphy-2.4.0/src/struphy/geometry/tests → struphy-2.4.2/src/struphy/initial}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/initial → struphy-2.4.2/src/struphy/initial/tests}/__init__.py +0 -0
- {struphy-2.4.0/src/struphy/initial/tests → struphy-2.4.2/src/struphy/io}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/batch_cobra.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_016.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_032.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_064.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_128.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_256.sh +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/batch/p_512.sh +0 -0
- {struphy-2.4.0/src/struphy/io → struphy-2.4.2/src/struphy/io/inp}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_TAE_tokamak.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_hybridmhdvlasovcc.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_hybridmhdvlasovpc.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_linearextendedmhd.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_linvlasovmaxwell_landau.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_linvlasovmaxwell_streaming_weibel.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/longer_examples/params_linvlasovmaxwell_weibel.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_03.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_04c.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05a.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05b.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05c.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05d.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05e.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_05f.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_12a.yml +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/inp/tutorials/params_12b.yml +0 -0
- {struphy-2.4.0/src/struphy/io/inp → struphy-2.4.2/src/struphy/io/inp/verification}/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/out/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/io/output_handling.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/kinetic_background/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/kinetic_background/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/kinetic_background/tests/test_base.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/linalg_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/linalg_kron.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/schur_solver.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/stencil_dot_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/stencil_transpose_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/linear_algebra/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/models/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/accumulation/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/accumulation/filler_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/accumulation/filter_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/accumulation/particle_to_mat_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/pushing/pusher_utilities_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/sobol_seq.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_mat_vec_filler.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/accumulation.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/accumulation_kernels_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/mappings_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/mappings_3d_fast.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/pusher.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/pusher_pos.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/pusher_vel_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/pusher_vel_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/spline_evaluation_2d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/pic/tests/test_pic_legacy_files/spline_evaluation_3d.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/basic.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/extraction_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/linear_operators.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/tests/test_legacy_polar_splines.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/polar/tests/test_polar.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/orbits/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/orbits/orbits_kernels.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/orbits/orbits_tools.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/profile_struphy.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/post_processing/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/profiling/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/profiling/profiling.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/tests/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/tests/test_gyrokinetic_poisson.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/propagators/tests/test_poisson.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy/utils/__init__.py +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy.egg-info/dependency_links.txt +0 -0
- {struphy-2.4.0 → struphy-2.4.2}/src/struphy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: struphy
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.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, eric.sonnendruecker@ipp.mpg.de
|
|
@@ -32,7 +32,7 @@ Description-Content-Type: text/markdown
|
|
|
32
32
|
License-File: LICENSE
|
|
33
33
|
Requires-Dist: numpy
|
|
34
34
|
Requires-Dist: pyccel>=1.11.1
|
|
35
|
-
Requires-Dist: mpi4py
|
|
35
|
+
Requires-Dist: mpi4py
|
|
36
36
|
Requires-Dist: scipy
|
|
37
37
|
Requires-Dist: h5py
|
|
38
38
|
Requires-Dist: matplotlib
|
|
@@ -42,7 +42,6 @@ Requires-Dist: tqdm
|
|
|
42
42
|
Requires-Dist: argcomplete
|
|
43
43
|
Requires-Dist: gvec-to-python
|
|
44
44
|
Requires-Dist: desc-opt
|
|
45
|
-
Requires-Dist: netcdf4<1.7
|
|
46
45
|
Provides-Extra: test
|
|
47
46
|
Requires-Dist: pytest; extra == "test"
|
|
48
47
|
Requires-Dist: pytest-mpi; extra == "test"
|
|
@@ -68,12 +67,53 @@ Requires-Dist: myst-parser; extra == "doc"
|
|
|
68
67
|
Requires-Dist: mistune; extra == "doc"
|
|
69
68
|
Requires-Dist: docutils; extra == "doc"
|
|
70
69
|
Requires-Dist: ipyparallel; extra == "doc"
|
|
70
|
+
Dynamic: license-file
|
|
71
71
|
|
|
72
72
|
# Struphy - Structure-preserving hybrid codes
|
|
73
73
|
|
|
74
74
|
A Python package for plasma physics PDEs.
|
|
75
75
|
|
|
76
|
-
|
|
76
|
+
Join the [Struphy mailing list](https://listserv.gwdg.de/mailman/listinfo/struphy) and stay informed on updates.
|
|
77
|
+
|
|
78
|
+
## Documentation
|
|
79
|
+
See the [Struphy pages](https://struphy.pages.mpcdf.de/struphy/index.html) for details regarding installation, tutorials, use and development.
|
|
80
|
+
|
|
81
|
+
## Quick install
|
|
82
|
+
|
|
83
|
+
Use a virtual environment:
|
|
84
|
+
|
|
85
|
+
python3 -m pip install -U virtualenv
|
|
86
|
+
python3 -m venv struphy_env
|
|
87
|
+
source struphy_env/bin/activate
|
|
88
|
+
|
|
89
|
+
Install latest release (with test packages):
|
|
90
|
+
|
|
91
|
+
pip install --no-cache-dir -U struphy[test]
|
|
92
|
+
|
|
93
|
+
Compile kernels:
|
|
94
|
+
|
|
95
|
+
struphy compile
|
|
96
|
+
|
|
97
|
+
Quick help:
|
|
98
|
+
|
|
99
|
+
struphy -h
|
|
100
|
+
|
|
101
|
+
In case of problems visit [Trouble shooting](https://struphy.pages.mpcdf.de/struphy/sections/install.html#trouble-shooting).
|
|
102
|
+
|
|
103
|
+
## Run tests from the command-line
|
|
104
|
+
|
|
105
|
+
Run available verification tests for [Struphy models](https://struphy.pages.mpcdf.de/struphy/sections/models.html):
|
|
106
|
+
|
|
107
|
+
struphy test models --verification --fast --show-plots
|
|
108
|
+
|
|
109
|
+
The corresponding parameter files are in [struphy/io/inp/verification/](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/tree/devel/src/struphy/io/inp/verification).
|
|
110
|
+
The corresponding diagnostics functions are in [struphy/models/tests/verification.py](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/blob/devel/src/struphy/models/tests/verification.py). You can repeat the verification run of a single `<model_name>` by typing
|
|
111
|
+
|
|
112
|
+
struphy test <model_name> --verification --fast --show-plots
|
|
113
|
+
|
|
114
|
+
## Tutorial notebooks
|
|
115
|
+
|
|
116
|
+
Struphy tutorials are available in the form of [Jupyter notebooks](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/tree/devel/doc/tutorials).
|
|
77
117
|
|
|
78
118
|
## Reference paper
|
|
79
119
|
|
struphy-2.4.2/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Struphy - Structure-preserving hybrid codes
|
|
2
|
+
|
|
3
|
+
A Python package for plasma physics PDEs.
|
|
4
|
+
|
|
5
|
+
Join the [Struphy mailing list](https://listserv.gwdg.de/mailman/listinfo/struphy) and stay informed on updates.
|
|
6
|
+
|
|
7
|
+
## Documentation
|
|
8
|
+
See the [Struphy pages](https://struphy.pages.mpcdf.de/struphy/index.html) for details regarding installation, tutorials, use and development.
|
|
9
|
+
|
|
10
|
+
## Quick install
|
|
11
|
+
|
|
12
|
+
Use a virtual environment:
|
|
13
|
+
|
|
14
|
+
python3 -m pip install -U virtualenv
|
|
15
|
+
python3 -m venv struphy_env
|
|
16
|
+
source struphy_env/bin/activate
|
|
17
|
+
|
|
18
|
+
Install latest release (with test packages):
|
|
19
|
+
|
|
20
|
+
pip install --no-cache-dir -U struphy[test]
|
|
21
|
+
|
|
22
|
+
Compile kernels:
|
|
23
|
+
|
|
24
|
+
struphy compile
|
|
25
|
+
|
|
26
|
+
Quick help:
|
|
27
|
+
|
|
28
|
+
struphy -h
|
|
29
|
+
|
|
30
|
+
In case of problems visit [Trouble shooting](https://struphy.pages.mpcdf.de/struphy/sections/install.html#trouble-shooting).
|
|
31
|
+
|
|
32
|
+
## Run tests from the command-line
|
|
33
|
+
|
|
34
|
+
Run available verification tests for [Struphy models](https://struphy.pages.mpcdf.de/struphy/sections/models.html):
|
|
35
|
+
|
|
36
|
+
struphy test models --verification --fast --show-plots
|
|
37
|
+
|
|
38
|
+
The corresponding parameter files are in [struphy/io/inp/verification/](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/tree/devel/src/struphy/io/inp/verification).
|
|
39
|
+
The corresponding diagnostics functions are in [struphy/models/tests/verification.py](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/blob/devel/src/struphy/models/tests/verification.py). You can repeat the verification run of a single `<model_name>` by typing
|
|
40
|
+
|
|
41
|
+
struphy test <model_name> --verification --fast --show-plots
|
|
42
|
+
|
|
43
|
+
## Tutorial notebooks
|
|
44
|
+
|
|
45
|
+
Struphy tutorials are available in the form of [Jupyter notebooks](https://gitlab.mpcdf.mpg.de/struphy/struphy/-/tree/devel/doc/tutorials).
|
|
46
|
+
|
|
47
|
+
## Reference paper
|
|
48
|
+
|
|
49
|
+
* S. Possanner, F. Holderied, Y. Li, B.-K. Na, D. Bell, S. Hadjout and Y. Güçlü, [**High-Order Structure-Preserving Algorithms for Plasma Hybrid Models**](https://link.springer.com/chapter/10.1007/978-3-031-38299-4_28), International Conference on Geometric Science of Information 2023, 263-271, Springer Nature Switzerland.
|
|
50
|
+
|
|
51
|
+
## Contact
|
|
52
|
+
|
|
53
|
+
* Stefan Possanner [stefan.possanner@ipp.mpg.de](mailto:spossann@ipp.mpg.de)
|
|
54
|
+
* Eric Sonnendrücker [eric.sonnendruecker@ipp.mpg.de](mailto:eric.sonnendruecker@ipp.mpg.de)
|
|
55
|
+
* Xin Wang [xin.wang@ipp.mpg.de](mailto:xin.wang@ipp.mpg.de)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "struphy"
|
|
7
|
-
version = "2.4.
|
|
7
|
+
version = "2.4.2"
|
|
8
8
|
readme = "README.md"
|
|
9
9
|
requires-python = ">=3.10"
|
|
10
10
|
license = {file = "LICENSE"}
|
|
@@ -21,7 +21,7 @@ classifiers = [
|
|
|
21
21
|
dependencies = [
|
|
22
22
|
'numpy',
|
|
23
23
|
'pyccel>=1.11.1',
|
|
24
|
-
'mpi4py
|
|
24
|
+
'mpi4py',
|
|
25
25
|
'scipy',
|
|
26
26
|
'h5py',
|
|
27
27
|
'matplotlib',
|
|
@@ -31,7 +31,6 @@ dependencies = [
|
|
|
31
31
|
'argcomplete',
|
|
32
32
|
'gvec-to-python',
|
|
33
33
|
'desc-opt',
|
|
34
|
-
'netcdf4<1.7',
|
|
35
34
|
]
|
|
36
35
|
|
|
37
36
|
[project.optional-dependencies]
|
|
@@ -74,6 +73,7 @@ changelog = "https://gitlab.mpcdf.mpg.de/struphy/struphy/-/blob/devel/CHANGELOG.
|
|
|
74
73
|
|
|
75
74
|
[project.scripts]
|
|
76
75
|
struphy = "struphy.console.main:struphy"
|
|
76
|
+
kinetic-diagnostics = "struphy.diagnostics.console_diagn:main"
|
|
77
77
|
|
|
78
78
|
[tool.setuptools.package-data]
|
|
79
79
|
'struphy.fields_background.mhd_equil.eqdsk' = [
|
|
@@ -95,10 +95,11 @@ struphy = "struphy.console.main:struphy"
|
|
|
95
95
|
'tests/*.yml',
|
|
96
96
|
'tutorials/*.yml',
|
|
97
97
|
'longer_examples/*.yml',
|
|
98
|
+
'verification/*.yml',
|
|
98
99
|
]
|
|
99
100
|
|
|
100
101
|
struphy = ['compile_struphy.mk',
|
|
101
|
-
'psydac-2.4.
|
|
102
|
+
'psydac-2.4.2.dev0-py3-none-any.whl',]
|
|
102
103
|
|
|
103
104
|
[tool.autopep8]
|
|
104
105
|
# Add specific settings for autopep8
|