/MGCAMB

This is the official MGCAMB repository. Scroll down for information about MGCAMB.

Primary LanguageFortranOtherNOASSERTION

MGCAMB

Modified Growth with CAMB

This is the official repository for the MGCAMB patch. Below is an introduction to the code and the instructions to install and run the code. Please note this repository of MGCAMB is always updated compatibly with the latest version of CAMB, and the former version (MGCAMB v4.0) is provided in MGCAMB_v4, which is compatible with CAMB v1.3.5.

Table of contents

1. Introduction

Modified Growth with CAMB (MGCAMB) is a patch for the Einstein Boltzmann solver CAMB that intrdouces phenomenological Modifications of Growth (MG) along with dynamical Dark Energy (DE). It includes several phenomenological parametrizations. For instance:

  • the mu, gamma parametrization, defined as

  • the mu, Sigma parametrization, defined as

  • the Q,R parametrization, defined as

MGCAMB is implemented in the latest version of CosmoMC and can be used with Cobaya. The MGCosmoMC and MGCobaya codes are also available for download.

Structure of the code

The new MGCAMB patch is structured as in the figure.

The parameters in params_MG.ini are used to run the code and follow the structure above. Please note that dynamical DE is only supported in the pure_MG_models, where DE perturbations could also be included, and cubic-spline model.

Citing MGCAMB

If you use MGCAMB for your scientific work, please cite the following papers:

as well as the original CAMB paper and code.

2. How to install

To install MGCAMB on your machine, simply run

git clone --recursive https://github.com/sfu-cosmo/MGCAMB.git
cd MGCAMB/fortran/
make 

3. How to run

To run MGCAMB, first modify the params_MG.ini file according to which models you want to use. Then run

./camb ../inifiles/params.ini

The MG and DE parametrizations along with the computation of the quantities related to the perturbations are introduced in the file mgcamb.f90.

4. Known issues

  • The debug mode (make Debug) is not well-tested yet. Please run the code using the normal option described in sections 2 and 3 .
  • The model of effective Newton's constant (mugamma_par = 3) is not fully developed.

5. Authors List

Main Developers:

Original Code Developers:

Repo created and maintained by Zhuangfei Wang. If you find any bugs in the code, please contact Zhuangfei Wang at zhuangfei_wang@sfu.ca .