Skip to content
/ PBH Public

Code repository for the PBH density, baryon density and yield from asymmetric Hawking radiation using a broad mass spectrum.

License

Notifications You must be signed in to change notification settings

nebblu/PBH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baryogenesis through Asymmetric Hawking Radiation from Primordial Black Holes as Dark Matter

Code repository for the PBH and baryon density fractions and yield from asymmetric Hawking radiation using the broad mass spectrum of 2001.04371.

Overview and running

This repository contains the c++ codes used to reproduce the results of Section III A and B of 1404.0113 (bh_hook.cpp) and the results of 2010.14426 (bh_clean.cpp). A python notebook is also included which was used to generate the plots of 2010.14426.

The codes bh_clean.cpp and bh_hook.cpp can be run from the command line using a similar command to:

g++ -lgsl -I/Users/bbose/Desktop/Black_hole/git bh_clean.cpp

replacing the include directory to the header files directory. Then just run the executable produced with

./a.out

The code is fairly well commented but if you run into any issues, contact Ben Bose at nebblub@gmail.com.

Requirements

C++ Compiler and automake

The codes are written in C++, so you'll need a relatively modern C++ compiler.

GSL

The code also makes use of gsl. You will need to have a version of gsl installed (gsl 2. or later) needed for integrations of the mass spectrum.

Citation

We ask if you use this code or any development thereof, that you cite the following paper for which the original code was written

@article{Boudon:2020qpo, author = "Boudon, Alexis and Bose, Benjamin and Huang, Hyat and Lombriser, Lucas", title = "{Baryogenesis through Asymmetric Hawking Radiation from Primordial Black Holes as Dark Matter}", eprint = "2010.14426", archivePrefix = "arXiv", primaryClass = "astro-ph.CO", month = "10", year = "2020" }

About

Code repository for the PBH density, baryon density and yield from asymmetric Hawking radiation using a broad mass spectrum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published