This code has the following dependencies:
- Python3
- Gnuplot
pip install -r requirements.txt
will installnumpy
andscipy
.
From project directory run
python -m nbody.nbody
Progress on simulation is plotted with Gnuplot. Results end up in ./data
directory.
If you use this code in a scientific publication, please cite it using this DOI:10.5281/zenodo.4158731.
I'm in the process of making this code literate. To edit the code, have Entangled installed and running:
entangled daemon
Documentation is currently minimal. The literate code can be viewed in rendered form on the github.io pages.