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.

Version: 1.41
Depends: R (≥ 4.0.0)
Imports: magicaxis, Rcpp (≥ 1.0.0)
LinkingTo: Rcpp
Published: 2024-08-20
DOI: 10.32614/CRAN.package.nbody
Author: Danail Obreschkow ORCID iD [aut, cre]
Maintainer: Danail Obreschkow <danail.obreschkow at gmail.com>
License: GPL-3
NeedsCompilation: yes
CRAN checks: nbody results

Documentation:

Reference manual: nbody.pdf

Downloads:

Package source: nbody_1.41.tar.gz
Windows binaries: r-devel: nbody_1.41.zip, r-release: nbody_1.41.zip, r-oldrel: nbody_1.41.zip
macOS binaries: r-release (arm64): nbody_1.41.tgz, r-oldrel (arm64): nbody_1.41.tgz, r-release (x86_64): nbody_1.41.tgz, r-oldrel (x86_64): nbody_1.41.tgz
Old sources: nbody archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=nbody to link to this page.