Page 1 of 1

Equations in Quint module in quintessence equations file for CAMB

Posted: January 30 2020
by Joseph P Johnson
Hi all,

I am trying to modify the equation file for quintessence for CAMB provided at https://camb.info/equations_quint.f90.
In subroutine EvolveBackground, the energy density of the scalar field is defined as

Code: Select all

tmp=a2*(0.5d0*phidot**2 + a2*Vofphi(phi,0))
which is consistent with the standard definition [math] (eq. 6.5 in Theory of cosmological perturbations ) upto a overall factor of [math] where prime denotes the derivative with respect to the conformal time.
But later in the file in function Quint_GetOmegaFromInitial, it is given that

Code: Select all

Quint_GetOmegaFromInitial=(0.5d0*y(2)**2 + Vofphi(y(1),0))/(3*adot**2)
which is supposed to produce the value of [math], which should be [math] multiplied by an overall factor.
But considering the definition

Code: Select all

y(2)=phidot*astart**2
this doesn't seem to be consistent with the definition

Code: Select all

tmp=a2*(0.5d0*phidot**2 + a2*Vofphi(phi,0))
since

Code: Select all

(0.5d0*y(2)**2 + Vofphi(y(1),0))
is equivalent to [math] which cannot be same as the definition of $\rho_{\phi}$ or $\Omega_{\phi}$ irrespective of any overall factor.

I am not sure if it is an error in the code, or if I am missing something.

Best
Joseph

Re: Equations in Quint module in quintessence equations file for CAMB

Posted: January 30 2020
by Antony Lewis
Omega is only calculated at a=1?

Re: Equations in Quint module in quintessence equations file for CAMB

Posted: March 02 2020
by Joseph P Johnson
Thanks for the reply. I had not noticed that Omega was calculated at a=1.