Package: nbody 1.52

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.

Authors:Danail Obreschkow [aut, cre]

nbody_1.52.tar.gz
nbody_1.52.zip(r-4.7-x86_64)nbody_1.52.zip(r-4.7-arm64)nbody_1.52.zip(r-4.6-x86_64)nbody_1.52.zip(r-4.6-arm64)nbody_1.52.zip(r-4.5-x86_64)
nbody_1.52.tgz(r-4.6-x86_64)nbody_1.52.tgz(r-4.6-arm64)nbody_1.52.tgz(r-4.5-x86_64)nbody_1.52.tgz(r-4.5-arm64)
nbody_1.52.tar.gz(r-4.7-arm64)nbody_1.52.tar.gz(r-4.7-x86_64)nbody_1.52.tar.gz(r-4.6-arm64)nbody_1.52.tar.gz(r-4.6-x86_64)
nbody_1.52.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION
card.svg |card.png
nbody/json (API)

# Install 'nbody' in R:
install.packages('nbody', repos = c('https://obreschkow.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/obreschkow/nbody/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cpp

2.00 score 268 downloads 11 exports 11 dependencies

Last updated from:2ec76b59ca. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK86
linux-devel-x86_64OK105
source / vignettesOK156
linux-release-arm64OK76
linux-release-x86_64OK111
macos-release-arm64OK169
macos-release-x86_64OK246
macos-oldrel-arm64OK186
macos-oldrel-x86_64OK251
windows-devel-arm64OK326
windows-devel-x86_64OK126
windows-release-arm64OK351
windows-release-x86_64OK95
windows-oldrel-x86_64OK90
wasm-releaseOK83

Exports:.nbody.envdefault.codeenergyreset.cmrun.simulationsetupsetup.ellipsesetup.halleysetup.periodic.3bodysetup.pythagorassetup.sunearth

Dependencies:celestialmagicaxismapprojmapsMASSNISTunitsplotrixpracmaRANNRcppsm

Readme and manuals

Help Manual

Help pageTopics
Gravitational N-Body Simulationnbody-package nbody
Package environment.nbody.env
Set a default external simulation codedefault.code
Mechanical energy of an N-body systemenergy
Visualize an N-body simulationplot.simulation
Move center of mass to the originreset.cm
Run a direct N-body simulationrun.simulation
Initialize N-body simulationsetup setup.3body.periodic setup.earth setup.ellipse setup.halley setup.periodic.3body setup.pythagoras setup.sunearth