QCDM cosmomc plugin
Zhiqi Huang (zhiqi.huang@cea.fr or zqhuang@cita.utoronto.ca)
This patch adds quintessence/phantom dark energy models into cosmomc (see Huang, Bond, Kofman 2011, arXiv:1007.5297).
The dark energy equation of state "w" is replaced with three parameters.
- $\epsilon_s$ describes the slope of the potential at low redshift.
- $\epsilon_\infty$ describes the high redshift attractor.
- $\zeta_s$ describes the correction from the second derivative of the potential at low redshift.
Download the tarball from [here].
I am assuming a linux environment. This patch should work with most cosmomc versions. It searches the relevant subroutines and adds f90 source code into them. Very likely you are using a modified cosmomc. However, as long as you did not add any hard parameters (num_hard=7 in settings.f90), this patch should still work (unless you have changed the structure of cosmomc).
Copy this tar ball into your cosmomc directory.
mv QCDMpatch.tar.gz PATH/cosmomc/
(replace PATH with the path to your cosmomc directory)
Extract it
cd PATH/cosmomc/
tar -xzf QCDMpatch.tar.gz
cd QCDMpatch
Run the patch
python addpatch.py
(Very likely,) you are done! Try recompiling your cosmomc!
If this does not work with your cosmomc version. Read the "README" file and the comments in "QCDM.f90" for further information.
If you want to remove the patch:
python removepatch.py
last updated:
Feb 27, 2012