lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
230 stars 285 forks source link

Density C_ell without the growth factor contribution D(z)^2 #307

Open ktanidis opened 4 years ago

ktanidis commented 4 years ago

Hi everyone,

I was wondering if there is a straightforward way to run CLASS (v2.6.3) nCl density without the contribution of time in the density source (equivalent to omitting D(z)^2). Since the source terms of CLASS are function of tau, I have been trying to replace tau=tau0 by modifying source[index_tau]= rescaling at line 2494 of transfer.c, such that sources[tau_size -1] *= rescaling, but the result is not what I would expect.

All the best, Kostas