Multi-model plasma physics package
Project description
Struphy - Structure-preserving hybrid codes
A Python package for plasma physics PDEs.
Join the Struphy mailing list and stay informed on updates.
Documentation
See the Struphy pages for details regarding installation, tutorials, use and development.
Quick install
Use a virtual environment:
python3 -m pip install --upgrade virtualenv
python3 -m venv struphy_env
source struphy_env/bin/activate
Install latest release:
pip install --no-cache-dir --upgrade struphy
Compile kernels:
struphy compile
Quick help:
struphy -h
In case of problems visit Trouble shooting.
Run tests from the command-line
Run available verification tests for Struphy models:
struphy test models --verification --fast --show-plots
The corresponding parameter files are in struphy/io/inp/verification/.
The corresponding diagnostics functions are in struphy/models/tests/verification.py. You can repeat the verification run of a single <model_name> by typing
struphy test <model_name> --verification --fast --show-plots
Tutorial notebooks
Struphy tutorials are available in the form of Jupyter notebooks.
Reference paper
- 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, International Conference on Geometric Science of Information 2023, 263-271, Springer Nature Switzerland.
Contact
- Stefan Possanner stefan.possanner@ipp.mpg.de
- Eric Sonnendrücker eric.sonnendruecker@ipp.mpg.de
- Xin Wang xin.wang@ipp.mpg.de
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file struphy-2.5.0.tar.gz.
File metadata
- Download URL: struphy-2.5.0.tar.gz
- Upload date:
- Size: 4.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab883d4c26d87b5f97032d360333d8168b81de5d889180ca4db6c0df923e3fa8
|
|
| MD5 |
53ca3a44eebe9e30239045ae25eda048
|
|
| BLAKE2b-256 |
4b4fcb54bde1ce54498277cc1df3b1e40bb268b7f32923992b1ab949b9536d3c
|
File details
Details for the file struphy-2.5.0-py3-none-any.whl.
File metadata
- Download URL: struphy-2.5.0-py3-none-any.whl
- Upload date:
- Size: 4.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5c16f272b963615ab4ce95c671c63dec21a951677f26b628d2e058d0c123c38
|
|
| MD5 |
8da85256da82099394cf4497f81c019c
|
|
| BLAKE2b-256 |
8d7cb6870934d4e7a453310b6de32f57c81324ddf5a925ce7b4ecaa9687bc52b
|