Skip to content

fmccarthy/Class_DMDE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLASS_DMDE: Cosmic Linear Anisotropy Solving System for dark matter-dark energy scattering

Authors: Alex Laguë, Fiona McCarthy, Colin Hill, Mathew Madhavacheril

This is a fork of the Einstein-Boltzmann solver CLASS v3 (https://lesgourg.github.io/class_public/class.html), written by Julien Lesgourgues, Thomas Tram, Nils Schoeneberg, et al.; refer to the original repository for the README of CLASS, including installation instructions.

This is an extension to CLASS which implements the dark matter-dark energy scattering model as introduced in Simpson (2010): https://ui.adsabs.harvard.edu/abs/arXiv:1007.1034 The code was described in Laguë et al arXiv:2024.08149. Please cite these papers, along with the original CLASS citations, if you use the code.

All modifications are indicated with either

// FMcC DMDE edit 
// end FMcC DMDE edit

or

// AL modif 

.

Installation and requirements

Please refer to the CLASS v3 repo for installation instructions.

Usage and differences with respect to CLASS

In addition to the standard parameters of CLASS, there is no an additional cosmological parameter Gamma_DMDE that controls the size of the coupling between dark energy and dark matter perturbations. The value of this can be read in in the input file. This can be seen in the explanatory.ini file. If you read this in,it is neccesary to set:

'fluid_equation_of_state': 'CLP',
'gauge':'newtonian',
'use_ppf':False,
'w0_fld': XXX

where XXX>-1.


Additionally, there are modifications to the nonlinear hmcode computation as described in Laguë et al. If you use

'Gamma_DMDE': xxx
'non_linear': 'hmcode'

for xxx>0, the modified non-linear model will be used. These include both incorporation of the DMDE model as well as some updates to the CLASS hmcode implementation; to use this with LCDM set Gamma_DMDE to a very small positive number. If 'non_linear' is set to 'halofit', even with non-zero Gamma_DMDE, the standard LCDM halofit fitting functions will be used.

About

cloned from class_public by Julian Lesgourges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published