Modification to powertilt.f90 in CAMB

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Gansukh Tumurtushaa
Posts: 34
Joined: October 05 2013
Affiliation: Sogang univ.

Modification to powertilt.f90 in CAMB

Post by Gansukh Tumurtushaa » October 05 2015

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.

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

Re: Modification to powertilt.f90 in CAMB

Post by Antony Lewis » October 05 2015

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)

Gansukh Tumurtushaa
Posts: 34
Joined: October 05 2013
Affiliation: Sogang univ.

Modification to powertilt.f90 in CAMB

Post by Gansukh Tumurtushaa » October 05 2015

Thank you Antony for your quick reply. It helped a lot.

Post Reply