COSMOS: A numerical relativity code specialized for PBH formation
COSMOS: A numerical relativity code specialized for PBH formation - Published in JOSS (2026)
Science Score: 87.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 3 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
Basic Info
- Host: GitHub
- Owner: cmyoo
- License: bsd-3-clause
- Language: C++
- Default Branch: master
- Size: 110 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 2
- Releases: 3
Metadata Files
README.md
COSMOS
An open-source code for numerical relativity specialized for PBH formation It is originally translated from SACRA code [Tetsuro Yamamoto, Masaru Shibata, Keisuke Taniguchi(arXiv:0806.4007)] into C++.
Please visit https://sites.google.com/view/cosmoscode/ for a list of publications using COSMOS, and some others.
Changelog
Please check Releases.
- 2026-03-24
- First release: v1.0.0
Documents
Wiki pages are available in https://github.com/cmyoo/cosmos/wiki.
Description
Perfect fluid with linear equation of states & massless scalar field
Non-Cartesian scale-up coordinates
Fixed mesh refinement
OpenMP parallelization
Required system environments
Depending on the environment, one may have to edit the makefile appropriately.
Linux
the default makefile would work with g++ compiler.
Mac
One may have to install an openMP package in addition to a C++ compiler. The std compiler option would have to be altered to an appropriate one (e.g. "-std=c++14")
Note
When performing test calculations on a low-spec PC, such as a laptop PC, the calculation speed (especially for the apparent horizon finder) may drop significantly unless the number of threads for openMP is kept small. For such test calculations, a user may have to limit the number of cores to one or at most a few with "export OMPNUMTHREADS=x" (x: number of threads).
Examples
Three samples are attached in the directories: sample_pert, adiabatic_spherical, and scalar_iso. The detailed physical settings are given in the enclosed pdf files in the directories.
License
COSMOS is licensed under the BSD 3-Clause License. Please see LICENSE for details.
Citation
If you use COSMOS as part of a paper, please cite the following first two papers in which COSMOS is used:
@article{Okawa:2014nda,
author = "Okawa, Hirotada and Witek, Helvi and Cardoso, Vitor",
title = "{Black holes and fundamental fields in Numerical Relativity: initial data construction and evolution of bound states}",
eprint = "1401.1548",
archivePrefix = "arXiv",
primaryClass = "gr-qc",
doi = "10.1103/PhysRevD.89.104032",
journal = "Phys. Rev. D",
volume = "89",
number = "10",
pages = "104032",
year = "2014"
}
@article{Yoo:2013yea,
author = "Yoo, Chul-Moon and Okawa, Hirotada and Nakao, Ken-ichi",
title = "{Black Hole Universe: Time Evolution}",
eprint = "1306.1389",
archivePrefix = "arXiv",
primaryClass = "gr-qc",
reportNumber = "OCU-PHYS:382, AP-GR:105, YITP-13-45",
doi = "10.1103/PhysRevLett.111.161102",
journal = "Phys. Rev. Lett.",
volume = "111",
pages = "161102",
year = "2013"
}
Owner
- Login: cmyoo
- Kind: user
- Repositories: 1
- Profile: https://github.com/cmyoo
JOSS Publication
COSMOS: A numerical relativity code specialized for PBH formation
Authors
Tags
cosmology dynamics black hole formation gravitational collapseGitHub Events
Total
- Release event: 1
- Pull request event: 1
- Fork event: 1
- Issues event: 2
- Watch event: 1
- Issue comment event: 1
- Push event: 72
- Public event: 1
- Gollum event: 145
Last Year
- Release event: 1
- Pull request event: 1
- Issues event: 2
- Issue comment event: 1
- Push event: 36
- Gollum event: 81
Issues and Pull Requests
Last synced: about 1 month ago
All Time
- Total issues: 5
- Total pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 1.2
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 1
- Average time to close issues: 7 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 1.2
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- cphyc (4)
- JesusTorrado (1)
Pull Request Authors
- fruzsinaagocs (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- openjournals/openjournals-draft-action master composite
