It is originally translated from SACRA code [Tetsuro Yamamoto, Masaru Shibata, Keisuke Taniguchi(arXiv:0806.4007)] into C++.
Users are supposed to understand the source code to some extent and use it by modifying it themselves.
Extensive support regarding usage cannot be expected.
COSMOS for 3+1 dim simulations
Perfect fluid with linear equation of states & massless scalar field
Non-Cartesian scale-up coordinates
Fixed mesh refinement
OpenMP parallelization
COSMOS-S for 1+1 spherical simulations
Derived from COSMOS with CARTOON method (all items listed above are inherited)
C++ compiler with an openMP package
Depending on the environment, one may have to edit the makefile appropriately
For a Linux PC, the default makefile would work with g++ compiler.
For a Mac PC
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 OMP_NUM_THREADS=x" (x: number of threads).
Structure
Main file:
cosmos.cpp
header file:
cosmos.h ahf2d.h
definitions:
cosmos_bssn.cpp cosmos_initial.cpp cosmos_output.cpp cosmos_boundary.cpp cosmos_ahf.cpp cosmos_ipol.cpp cosmos_fluid.cpp cosmos_fmr.cpp
Makefile:
makefile
Compile and run
Compile: make
Choose a compiler by changing the makefile.
OpenMP: export OMP_NUM_THREADS=#
Set the number of threads you use.
Execute: ./cosmos
Structure
Main file:
cosmos_s.cpp
header file:
cosmos_s.h
definitions:
cosmos_s_bssn.cpp cosmos_s_initial.cpp cosmos_s_output.cpp cosmos_s_boundary.cpp cosmos_s_ipol.cpp cosmos_s_fluid.cpp cosmos_s_fmr.cpp
Makefile:
makefile
Compile and run
Compile: make
Choose a compiler by changing the makefile.
OpenMP: export OMP_NUM_THREADS=#
Set the number of threads you use.
Execute: ./cosmos_s
Black Hole Universe: Time Evolution
Chul-Moon Yoo, Hirotada Okawa, Ken-ichi Nakao
e-Print: 1306.1389 [gr-qc]
DOI: 10.1103/PhysRevLett.111.161102
Published in: Phys.Rev.Lett. 111 (2013), 161102
Black holes and fundamental fields in Numerical Relativity: initial data construction and evolution of bound states
Hirotada Okawa, Helvi Witek, Vitor Cardoso
e-Print: 1401.1548 [gr-qc]
DOI: 10.1103/PhysRevD.89.104032
Published in: Phys.Rev.D 89 (2014) 10, 104032
Black hole universe with a cosmological constant
Chul-Moon Yoo, Hirotada Okawa
e-Print: 1404.1435 [gr-qc]
DOI: 10.1103/PhysRevD.89.123502
Published in: Phys.Rev.D 89 (2014) 12, 123502
Black holes and fundamental fields: Hair, kicks, and a gravitational Magnus effect
Hirotada Okawa (Lisbon, CENTRA and Lisbon U. and Lisbon, IST), Vitor Cardoso (Lisbon, CENTRA and Lisbon U. and Lisbon, IST and Perimeter Inst. Theor. Phys. and Mississippi U.)
e-Print: 1405.4861 [gr-qc]
DOI: 10.1103/PhysRevD.90.104040
Published in: Phys.Rev.D 90 (2014) 10, 104040
Expanding universe with nonlinear gravitational waves
Taishi Ikeda (Nagoya U.), Chul-Moon Yoo (Nagoya U.), Yasusada Nambu (Nagoya U.)
e-Print: 1505.02959 [gr-qc]
DOI: 10.1103/PhysRevD.92.044041
Published in: Phys.Rev.D 92 (2015) 4, 044041
Accretion of dark matter by stars
Richard Brito (Lisbon, CENTRA), Vitor Cardoso (Lisbon, CENTRA and Perimeter Inst. Theor. Phys.), Hirotada Okawa (Kyoto U., Yukawa Inst., Kyoto and Waseda U., RISE)
e-Print: 1508.04773 [gr-qc]
DOI: 10.1103/PhysRevLett.115.111301
Published in: Phys.Rev.Lett. 115 (2015) 11, 111301
Interaction between bosonic dark matter and stars
Richard Brito (Lisbon U. and Lisbon, CENTRA and Lisbon, IST), Vitor Cardoso (Lisbon U. and Lisbon, CENTRA and Lisbon, IST and Perimeter Inst. Theor. Phys. and Rome U. and INFN, Rome), Caio F. B. Macedo (Lisbon U. and Lisbon, CENTRA and Lisbon, IST), Hirotada Okawa (Kyoto U., Yukawa Inst., Kyoto and Waseda U., RISE), Carlos Palenzuela (Balearic Islands U.)
e-Print: 1512.00466 [astro-ph.SR]
DOI: 10.1103/PhysRevD.93.044045
Published in: Phys.Rev.D 93 (2016) 4, 044045
Nonlinear evolutions of bosonic clouds around black holes
Hirotada Okawa
DOI: 10.1088/0264-9381/32/21/214003
Published in: Class.Quant.Grav. 32 (2015) 21, 214003
3D Simulation of Spindle Gravitational Collapse of a Collisionless Particle System
Chul-Moon Yoo, Tomohiro Harada, Hirotada Okawa
e-Print: 1611.07906 [gr-qc]
DOI: 10.1088/1361-6382/aa6ad5
Published in: Class.Quant.Grav. 34 (2017) 10, 105010
Gravitational Collapse of a Massless Scalar Field in a Periodic Box
Chul-Moon Yoo (Nagoya U.), Taishi Ikeda (Lisbon, CENTRA), Hirotada Okawa (Kyoto U., Yukawa Inst., Kyoto and Waseda U., Tokyo (Main))
e-Print: 1811.00762 [gr-qc]
DOI: 10.1088/1361-6382/ab06e2
Published in: Class.Quant.Grav. 36 (2019) 7, 075004
Threshold of Primordial Black Hole Formation in Nonspherical Collapse
Chul-Moon Yoo (Nagoya U.), Tomohiro Harada (Rikkyo U.), Hirotada Okawa (Waseda U., Inst. Astrophys.)
e-Print: 2004.01042 [gr-qc]
DOI: 10.1103/PhysRevD.102.043526 , 10.1103/PhysRevD.107.049901 (erratum)
Published in: Phys.Rev.D 102 (2020) 4, 043526, Phys.Rev.D 107 (2023) 4, 049901 (erratum)
Primordial black hole formation from massless scalar isocurvature
Chul-Moon Yoo (Nagoya U.), Tomohiro Harada (Rikkyo U.), Shin'ichi Hirano (Nagoya U.), Hirotada Okawa (Waseda U.), Misao Sasaki (Tokyo U., IPMU and Kyoto U., Yukawa Inst., Kyoto and Taiwan, Natl. Taiwan U.)
e-Print: 2112.12335 [gr-qc]
DOI: 10.1103/PhysRevD.105.103538 (publication)
Published in: Phys.Rev.D 105 (2022) 10, 103538
Numerical simulation of type II primordial black hole formation
Koichiro Uehara, Albert Escrivà, Tomohiro Harada, Daiki Saito, Chul-Moon Yoo
e-Print: 2401.06329 [gr-qc]
Primordial black hole formation from a nonspherical density profile with a misaligned deformation tensor
Chul-Moon Yoo (Nagoya U.)
e-Print: 2403.11147 [gr-qc]
DOI: 10.1103/PhysRevD.110.043526 (publication)
Published in: Phys.Rev.D 110 (2024) 4, 043526
Simulations of Ellipsoidal Primordial Black Hole Formation
Albert Escrivà, Chul-Moon Yoo
e-Print: 2410.03452 [gr-qc]
Non-spherical effects on the mass function of Primordial Black Holes
Albert Escrivà(Nagoya U.), Chul-Moon Yoo(Nagoya U.)
e-Print: 2410.03451 [gr-qc]
Primordial Black Hole Formation from Type II Fluctuations with Primordial Non-Gaussianity
Masaaki Shimada(Nagoya U.), Albert Escrivá(Nagoya U.), Daiki Saito(Nagoya U.), Koichiro Uehara(Nagoya U.), Chul-Moon Yoo(Nagoya U.)
e-Print: 2411.07648 [gr-qc]