Nonlinear power spectrum with varying equation of state of dark energy ?
-
- Posts: 9
- Joined: September 06 2013
- Affiliation: NAOC
Nonlinear power spectrum with varying equation of state of d
Dear all,
I want to get the nonlinear power spectrum with varying equation of state of dark energy like w=w0+wa(1-a) .
But the halofit code are only for constant equation of state (although it can be differ from -1).
Can anyone tell me how to do that ,please?
Thanks a lot !
I want to get the nonlinear power spectrum with varying equation of state of dark energy like w=w0+wa(1-a) .
But the halofit code are only for constant equation of state (although it can be differ from -1).
Can anyone tell me how to do that ,please?
Thanks a lot !
-
- Posts: 97
- Joined: March 19 2010
- Affiliation: The University of Texas at Dallas
- Contact:
Nonlinear power spectrum with varying equation of state of d
The latest version of CosmoMC and CAMB include a version of halofit for variable equation of state. CosmoMC is set to compile using that by default. In CAMB just make with the following command and you should be good to go:
Code: Select all
make NONLINEAR=halofit_ppf EQUATIONS=equations_ppf
-
- Posts: 9
- Joined: September 06 2013
- Affiliation: NAOC
Nonlinear power spectrum with varying equation of state of d
Thanks Jason very much !
But I downloaded the latest CAMB and there is no a file named halofit_ppf.f90 . There is only halofit.f90 . Is it that I misunderstand your meaning?
Pengyuan
But I downloaded the latest CAMB and there is no a file named halofit_ppf.f90 . There is only halofit.f90 . Is it that I misunderstand your meaning?
Pengyuan
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Nonlinear power spectrum with varying equation of state
If you download CosmoMC, the version of CAMB included in the camb folder has the ppf versions.
-
- Posts: 9
- Joined: September 06 2013
- Affiliation: NAOC
Nonlinear power spectrum with varying equation of state of d
In subroutine halofit in halofit_ppf.f90, about the last part of the fitting parameter a :
0.1749*om_v*(1.+w_lam)
I wonder whether w_lam should be changed to
w_lam+wa_ppf *(1-a) ? ( here 'a' is scale factor )
Because w is a function of redshift .
0.1749*om_v*(1.+w_lam)
I wonder whether w_lam should be changed to
w_lam+wa_ppf *(1-a) ? ( here 'a' is scale factor )
Because w is a function of redshift .
-
- Posts: 97
- Joined: March 19 2010
- Affiliation: The University of Texas at Dallas
- Contact:
Nonlinear power spectrum with varying equation of state of d
Hi Pengyuan,
Thanks very much for catching this. You are correct.
I am in the process of coding a fix.
-Jason
Thanks very much for catching this. You are correct.
I am in the process of coding a fix.
-Jason