Crandore Hub

nbody

Gravitational N-Body Simulation

Run simple direct gravitational N-body simulations. The package can access different external N-body simulators (e.g. GADGET-4 by Springel et al. (2021) <doi:10.48550/arXiv.2010.03567>), but also has a simple built-in simulator. This default simulator uses a variable block time step and lets the user choose between a range of integrators, including 4th and 6th order integrators for high-accuracy simulations. Basic top-hat smoothing is available as an option. The code also allows the definition of background particles that are fixed or in uniform motion, not subject to acceleration by other particles.

Versions across snapshots

VersionRepositoryFileSize
1.41 rolling linux/jammy R-4.5 nbody_1.41.tar.gz 119.0 KiB
1.41 rolling linux/noble R-4.5 nbody_1.41.tar.gz 120.1 KiB
1.41 rolling source/ R- nbody_1.41.tar.gz 21.4 KiB
1.41 latest linux/jammy R-4.5 nbody_1.41.tar.gz 119.0 KiB
1.41 latest linux/noble R-4.5 nbody_1.41.tar.gz 120.1 KiB
1.41 latest source/ R- nbody_1.41.tar.gz 21.4 KiB
1.41 2026-04-26 source/ R- nbody_1.41.tar.gz 21.4 KiB
1.41 2026-04-23 source/ R- nbody_1.41.tar.gz 21.4 KiB
1.41 2026-04-09 windows/windows R-4.5 nbody_1.41.zip 441.7 KiB
1.41 2025-04-20 source/ R- nbody_1.41.tar.gz 21.4 KiB

Dependencies (latest)

Imports

LinkingTo