Package graph
The packages build on each other: an arrow points from a package to one it imports, so the foundations (array backends, MPI, profiling) are at the bottom and the simulation codes at the top. The bar under each name shows its languages.
Hover over a package to see what it imports and what imports it; click it to open its page.
cunumpy: NumPy on the CPU, CuPy on the GPU. 17.8k lines in the library, 30.8k with the tests, examples and notebooks; Python 29.8k, CUDA 978, JavaScript 67, Shell 7.
Imports maybempi, scope-profiler · Imported by mpiarray, mpiparticles, mpifield, simgeometry, patchwork, tree-d-3d, plasmacoll, opencr, beamtracer, freeofcharge
maybempi: MPI only when launched under MPI. 3.6k lines in the library, 3.7k with the tests, examples and notebooks; Python 3.6k, Jupyter 28.
Imports none of the others · Imported by cunumpy, mpiarray, mpiparticles, mpifield, simgeometry, patchwork, tree-d-3d, beamtracer, freeofcharge
scope-profiler: Profiling of code regions. 69.5k lines in the library, 80.6k with the tests, examples and notebooks; Python 66.2k, JavaScript 7.7k, Jupyter 2.5k, C 2.2k, Fortran 783, Astro 638, TypeScript 500.
Imports maxplotlib · Imported by cunumpy, methodcard, mpiarray, mpiparticles, mpifield, simgeometry, patchwork, tree-d-3d, plasmacoll, opencr, carafe, beamtracer, freeofcharge, plasma-plots, plasma-posters
methodcard: The math of each numerical method. 1.5k lines in the library, 1.7k with the tests, examples and notebooks; Python 1.6k, Shell 66, Jupyter 48.
Imports scope-profiler · Imported by mpifield, simgeometry, patchwork, tree-d-3d, plasmacoll, opencr, carafe, beamtracer, freeofcharge
mpiarray: Distributed arrays with halo exchange. 9.9k lines in the library, 11.6k with the tests, examples and notebooks; Python 9.9k, Jupyter 1.7k.
Imports cunumpy, maybempi, scope-profiler · Imported by mpiparticles, mpifield, simgeometry, patchwork
mpiparticles: Distributed particles and migration. 4.2k lines in the library, 4.5k with the tests, examples and notebooks; Python 4.0k, Jupyter 227, CUDA 207.
Imports cunumpy, maybempi, mpiarray, scope-profiler · Imported by beamtracer
mpifield: Distributed fields and particle gather/scatter. 11.1k lines in the library, 12.1k with the tests, examples and notebooks; Python 10.9k, CUDA 954, Jupyter 200.
Imports cunumpy, maybempi, methodcard, mpiarray, plasma-plots, scope-profiler, simgeometry · Imported by patchwork, beamtracer
simgeometry: Shapes, grids and domains. 19.2k lines in the library, 20.7k with the tests, examples and notebooks; Python 19.0k, Jupyter 1.4k, CUDA 199, Shell 64.
Imports cunumpy, maybempi, methodcard, mpiarray, plasma-plots, scope-profiler · Imported by mpifield, tree-d-3d, carafe, beamtracer, freeofcharge
patchwork: Block-structured adaptive meshes. 18.3k lines in the library, 19.5k with the tests, examples and notebooks; Python 18.7k, Jupyter 728, Shell 64.
Imports cunumpy, maybempi, methodcard, mpiarray, mpifield, scope-profiler · Imported by carafe, beamtracer
tree-d-3d: Barnes-Hut trees and fast multipoles. 16.4k lines in the library, 28.4k with the tests, examples and notebooks; Python 27.2k, CUDA 831, Jupyter 409, Shell 21.
Imports cunumpy, maybempi, methodcard, scope-profiler, simgeometry · Imported by freeofcharge
plasmacoll: Monte Carlo collisions with neutrals. 15.4k lines in the library, 16.3k with the tests, examples and notebooks; Python 15.4k, Jupyter 927.
Imports cunumpy, methodcard, scope-profiler · Imported by opencr, carafe, beamtracer, freeofcharge
opencr: Collisional-radiative models. 11.4k lines in the library, 12.4k with the tests, examples and notebooks; Python 11.8k, Jupyter 552.
Imports cunumpy, methodcard, plasmacoll, scope-profiler · Imported by carafe, freeofcharge
carafe: Global and fluid plasma models. 26.4k lines in the library, 30.5k with the tests, examples and notebooks; Python 30.0k, Jupyter 565.
Imports methodcard, opencr, patchwork, plasmacoll, scope-profiler, simgeometry · Imported by beamtracer, freeofcharge
beamtracer: Self-consistent ion beam extraction. 19.4k lines in the library, 23.0k with the tests, examples and notebooks; Python 21.0k, Jupyter 1.3k, CUDA 733.
Imports cunumpy, maybempi, methodcard, mpifield, mpiparticles, patchwork, plasma-plots, plasmacoll, scope-profiler, simgeometry, carafe · Imported by none of the others
freeofcharge: Neutral beams in tokamaks. 22.7k lines in the library, 27.0k with the tests, examples and notebooks; Python 23.3k, Jupyter 3.5k, CUDA 82, Shell 64.
Imports cunumpy, maybempi, methodcard, opencr, plasma-plots, plasmacoll, scope-profiler, simgeometry, tree-d-3d, carafe · Imported by none of the others
mhd-sandbox: 2D ideal MHD on a periodic grid. 861 lines in the library, 1.6k with the tests, examples and notebooks; Python 897, Jupyter 661, Shell 64.
Imports none of the others · Imported by none of the others
plasma-plots: Plots of labeled xarray output. 43.6k lines in the library, 64.3k with the tests, examples and notebooks; Python 64.3k.
Imports maxplotlib, scope-profiler · Imported by mpifield, simgeometry, beamtracer, freeofcharge
plasma-posters: Scientific posters from Python. 654 lines in the library, 1.5k with the tests, examples and notebooks; Python 1.5k, Jupyter 12.
Imports scope-profiler · Imported by none of the others
maxplotlib: Plots with several backends. 15.7k lines in the library, 18.4k with the tests, examples and notebooks; Python 16.3k, Jupyter 2.1k.
Imports tikzfigure · Imported by scope-profiler, plasma-plots, strava-collections
tikzfigure: Readable TikZ figures from Python. 23.7k lines in the library, 30.9k with the tests, examples and notebooks; Python 24.2k, Jupyter 5.9k, TeX 741.
Imports none of the others · Imported by maxplotlib
slurm-script-generator: Slurm job scripts. 5.7k lines in the library, 8.8k with the tests, examples and notebooks; Python 7.9k, Jupyter 954, Shell 7.
Imports none of the others · Imported by none of the others
strava-collections: Collections of Strava activities. 7.7k lines in the library, 8.6k with the tests, examples and notebooks; Python 3.9k, Astro 2.5k, TypeScript 2.1k, Jupyter 49, JavaScript 38.
Imports maxplotlib · Imported by none of the others
PythonJupyterJavaScriptCUDAAstroTypeScriptCFortranTeXShell
All packages
From the bottom of the graph up. Lines are non-blank lines of code: in the library (src/), and in all of the repository with its tests, examples and notebooks.
| Package | What it does | Languages | Library | All | Imports |
|---|---|---|---|---|---|
| maybempi | MPI only when launched under MPI | Python, Jupyter | 3.6k | 3.7k | – |
| mhd-sandbox | 2D ideal MHD on a periodic grid | Python, Jupyter, Shell | 861 | 1.6k | – |
| plasma-plots | Plots of labeled xarray output | Python | 43.6k | 64.3k | maxplotlib, scope-profiler (optional); simgeometry, tikzfigure (tests and docs) |
| scope-profiler | Profiling of code regions | Python, JavaScript, Jupyter, C, Fortran, Astro, TypeScript | 69.5k | 80.6k | maxplotlib (optional) |
| slurm-script-generator | Slurm job scripts | Python, Jupyter, Shell | 5.7k | 8.8k | – |
| tikzfigure | Readable TikZ figures from Python | Python, Jupyter, TeX | 23.7k | 30.9k | – |
| cunumpy | NumPy on the CPU, CuPy on the GPU | Python, CUDA, JavaScript, Shell | 17.8k | 30.8k | maybempi, scope-profiler (required) |
| maxplotlib | Plots with several backends | Python, Jupyter | 15.7k | 18.4k | tikzfigure (required) |
| methodcard | The math of each numerical method | Python, Shell, Jupyter | 1.5k | 1.7k | scope-profiler (required) |
| plasma-posters | Scientific posters from Python | Python, Jupyter | 654 | 1.5k | scope-profiler (required); freeofcharge, plasma-plots (tests and docs) |
| mpiarray | Distributed arrays with halo exchange | Python, Jupyter | 9.9k | 11.6k | cunumpy, maybempi, scope-profiler (required); plasma-plots (tests and docs) |
| plasmacoll | Monte Carlo collisions with neutrals | Python, Jupyter | 15.4k | 16.3k | cunumpy, methodcard, scope-profiler (required); plasma-plots (tests and docs) |
| strava-collections | Collections of Strava activities | Python, Astro, TypeScript, Jupyter, JavaScript | 7.7k | 8.6k | maxplotlib (required) |
| carafe | Global and fluid plasma models | Python, Jupyter | 26.4k | 30.5k | methodcard, plasmacoll, scope-profiler (required); opencr, patchwork, simgeometry (optional); plasma-plots (tests and docs) |
| mpiparticles | Distributed particles and migration | Python, Jupyter, CUDA | 4.2k | 4.5k | cunumpy, maybempi, mpiarray, scope-profiler (required) |
| opencr | Collisional-radiative models | Python, Jupyter | 11.4k | 12.4k | methodcard, plasmacoll, scope-profiler (required); cunumpy (optional); plasma-plots (tests and docs) |
| simgeometry | Shapes, grids and domains | Python, Jupyter, CUDA, Shell | 19.2k | 20.7k | cunumpy, maybempi, methodcard, mpiarray, scope-profiler (required); plasma-plots (optional) |
| freeofcharge | Neutral beams in tokamaks | Python, Jupyter, CUDA, Shell | 22.7k | 27.0k | cunumpy, maybempi, methodcard, plasmacoll, scope-profiler, simgeometry (required); opencr, plasma-plots, tree-d-3d, carafe (optional) |
| mpifield | Distributed fields and particle gather/scatter | Python, CUDA, Jupyter | 11.1k | 12.1k | cunumpy, maybempi, methodcard, mpiarray, scope-profiler, simgeometry (required); plasma-plots (optional) |
| tree-d-3d | Barnes-Hut trees and fast multipoles | Python, CUDA, Jupyter, Shell | 16.4k | 28.4k | cunumpy, maybempi, methodcard, scope-profiler, simgeometry (required); plasma-plots, plasmacoll (tests and docs) |
| patchwork | Block-structured adaptive meshes | Python, Jupyter, Shell | 18.3k | 19.5k | cunumpy, maybempi, methodcard, mpiarray, mpifield, scope-profiler (required) |
| beamtracer | Self-consistent ion beam extraction | Python, Jupyter, CUDA | 19.4k | 23.0k | cunumpy, maybempi, methodcard, mpifield, mpiparticles, patchwork, plasmacoll, scope-profiler, simgeometry (required); plasma-plots, carafe (optional) |