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
possible error in generalized fluid equations #473
Hi,
I was checking in the int perturbations_derivs function in the perturbation.c module
For the generalized fluid perturbation the equation thats written is
dy[pv->index_pt_delta_fld] = -(1+w_fld)*(y[pv->index_pt_theta_fld]+metric_continuity) -3.*(cs2-w_fld)*a_prime_over_a*y[pv->index_pt_delta_fld] -9.*(1+w_fld)*(cs2-ca2)*a_prime_over_a*a_prime_over_a*y[pv->index_pt_theta_fld]/k2;
I believe the second term in the RHS should be
-3(1+cs2)
instead of-3(cs2 - w_fld)
according to A9 in https://arxiv.org/pdf/astro-ph/9801234.pdfFor e.g. for a scalar field that term should be 6a_prime_over_adelta_rho_fld where the 6 comes for 3(1+cs2)
Please let me know if you agree.
Thanks, Akshay