Page 1 of 1

Modification to powertilt.f90 in CAMB

Posted: October 05 2015
by Gansukh Tumurtushaa
Dear all,

I would like to plot [tex]l[/tex] versus [tex]l(l+1)C^{BB}_{l}/2\pi[/tex] for the particular model, which means I am about to modify or add some k(wavenumber)-dependent terms to the both scalar and tensor power spectrum of the power_tilt.f90 file in CAMB directory. However, forms of the power spectrum are still power law.
Modifying the code seems okay but I wonder how this modification would affect to the other part(s) of the CAMB code?
Does this power_tilt.f90 file cowork with any other file(s) in addition to the params.ini file? If yes, then, what are the connecting file(s) to power_tilt.f90 that I also need to take care of?

Thank you.

Re: Modification to powertilt.f90 in CAMB

Posted: October 05 2015
by Antony Lewis
You should just need to change that file (unless you are adding sharp features/osicllations, in which case some other accuracy settings may need to be tweaked)

Modification to powertilt.f90 in CAMB

Posted: October 05 2015
by Gansukh Tumurtushaa
Thank you Antony for your quick reply. It helped a lot.