Package: nbody 1.48
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:
nbody_1.48.tar.gz
nbody_1.48.zip(r-4.5)nbody_1.48.zip(r-4.4)nbody_1.48.zip(r-4.3)
nbody_1.48.tgz(r-4.4-x86_64)nbody_1.48.tgz(r-4.4-arm64)nbody_1.48.tgz(r-4.3-x86_64)nbody_1.48.tgz(r-4.3-arm64)
nbody_1.48.tar.gz(r-4.5-noble)nbody_1.48.tar.gz(r-4.4-noble)
nbody_1.48.tgz(r-4.4-emscripten)nbody_1.48.tgz(r-4.3-emscripten)
nbody.pdf |nbody.html✨
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
Last updated 1 months agofrom:1b22c3bdb2. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 10 2024 |
R-4.5-win-x86_64 | OK | Nov 10 2024 |
R-4.5-linux-x86_64 | OK | Nov 10 2024 |
R-4.4-win-x86_64 | OK | Nov 10 2024 |
R-4.4-mac-x86_64 | OK | Nov 10 2024 |
R-4.4-mac-aarch64 | OK | Nov 10 2024 |
R-4.3-win-x86_64 | OK | Nov 10 2024 |
R-4.3-mac-x86_64 | OK | Nov 10 2024 |
R-4.3-mac-aarch64 | OK | Nov 10 2024 |
Exports:.nbody.envdefault.codeenergyreset.cmrun.simulationsetupsetup.ellipsesetup.halleysetup.periodic.3bodysetup.pythagorassetup.sunearth
Dependencies:celestialmagicaxismapprojmapsMASSNISTunitsplotrixpracmaRANNRcppsm
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Gravitational N-Body Simulation | nbody-package nbody |
Package environment | .nbody.env |
Set a default external simulation code | default.code |
Mechanical energy of an N-body system | energy |
Visualize an N-body simulation | plot.simulation |
Move center of mass to the origin | reset.cm |
Run a direct N-body simulation | run.simulation |
Initialize N-body simulation | setup setup.3body.periodic setup.earth setup.ellipse setup.halley setup.periodic.3body setup.pythagoras setup.sunearth |