[CAMB] Double precision in matterpower.dat

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Hélion des Bourboux
Posts: 2
Joined: March 05 2016
Affiliation: CEA, Saclay

[CAMB] Double precision in matterpower.dat

Post by Hélion des Bourboux » March 05 2016

Hi all,

I would need to get double precision instead of float in *matterpower.dat.
What is the option to do such a thing ?

For now I have in this file two columns with only 5 diggits precision. :
0.10005E+04 0.33411E-06


Cheers,

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: [CAMB] Double precision in matterpower.dat

Post by Antony Lewis » March 05 2016

You can use CAMB python version to get the array, or change the fortran source code for the output and recompile. However the numerical accuracy is not higher than 5 sig figs.

Hélion des Bourboux
Posts: 2
Joined: March 05 2016
Affiliation: CEA, Saclay

[CAMB] Double precision in matterpower.dat

Post by Hélion des Bourboux » March 29 2016

Thank you for the help.

Post Reply