Background modification for CAMB-1.1.3

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
srijita sinha
Posts: 15
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Background modification for CAMB-1.1.3

Post by srijita sinha » September 11 2020

Hi,

I want to evolve the background energy density using the background values grhoc, grhob etc.

BackgroundDensityAndPressure in DarkEnergyInterface cannot use these quantities. How do I solve the problem?

Previously I used to write a separate module like LambdaGeneral and call that in Init_background.

How do I keep the module intact and use it as an alternate fluid? Is it possible in the present file structure?

Thanks in advance.

Srijita

Antony Lewis
Posts: 1633
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Background modification for CAMB-1.1.3

Post by Antony Lewis » September 14 2020

Calculate and save what you need in the Init method, which is passed the current State. There's a complete non-trivial quintessence example (for early dark energy) at
https://github.com/cmbant/CAMB/blob/quintessence/fortran/DarkEnergyQuintessence.f90

srijita sinha
Posts: 15
Joined: April 12 2019
Affiliation: Indian Institute of Science Education and Research Kolkata

Re: Background modification for CAMB-1.1.3

Post by srijita sinha » September 14 2020

Thanks a lot.

I missed this update.

Post Reply