nbody2d

2D PM n-body code for cosmology

https://github.com/jhidding/nbody2d

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.1%) to scientific vocabulary

Keywords

2d-nbody cosmology simulation
Last synced: 6 months ago · JSON representation ·

Repository

2D PM n-body code for cosmology

Basic Info
Statistics
  • Stars: 9
  • Watchers: 2
  • Forks: 2
  • Open Issues: 1
  • Releases: 2
Topics
2d-nbody cosmology simulation
Created over 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

2D PM n-body code for cosmology

Entangled badge DOI

A sample simulation, three time steps; the bottom row is a zoom-in.

Install

This code has the following dependencies:

  • Python3
  • Gnuplot
  • pip install -r requirements.txt will install numpy and scipy.

Run

From project directory run

    python -m nbody.nbody

Progress on simulation is plotted with Gnuplot. Results end up in ./data directory.

Citation

If you use this code in a scientific publication, please cite it using this DOI:10.5281/zenodo.4158731.

Development

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.

Owner

  • Name: Johannes Hidding
  • Login: jhidding
  • Kind: user
  • Location: Amersfoort
  • Company: @NLeSC

Citation (CITATION.cff)

# YAML 1.2
---
abstract: "This is a 2d particle-mesh N-body code written in pure Python. It compute 2d cosmological structure formation for real-time visualisation in Gnuplot. Further documentation can be found at https://jhidding.github.io/nbody2d."
authors: 
  -
    family-names: Hidding
    given-names: Johan
    orcid: "https://orcid.org/"
cff-version: "1.1.0"
date-released: 2020-10-30
doi: "10.5281/zenodo.4158730"
keywords: 
  - cosmology
  - "n-body"
  - "particle-mesh"
license: "Apache-2.0"
message: "If you use this software, please cite it using these metadata."
repository-code: "https://github.com/jhidding/nbody2d"
title: "2D particle-mesh n-body code"

GitHub Events

Total
  • Watch event: 4
Last Year
  • Watch event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 18
  • Total Committers: 1
  • Avg Commits per committer: 18.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Johan Hidding j****g@e****l 18
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels