Many body simulation (FMM method)
- src: production source code.
- test: tests and data analysis.
- cpp: C++ implementation of the FMM algorithm.
uv is recommended to have the right python version installed, as it manages both python versions and packages.
uv syncThen you can activate the virtual environment created in .venv to use python, or prefix all your python commands with uv run :
uv run some_script.py
uv run pytest test/test_fmm.py -s- Install a library:
uv add <library> - Remove a library:
uv remove <library> - Install libraries from
pyproject.toml:uv sync
After running uv sync, you can run the tests in the test directory with the following command:
uv run pytest test/*.py -s