I have added a new parameter in model.py and model.f90 at the bottom of the CAMBparams in model.f90, via
Code: Select all
real(dl) :: newparam = 0._dl.
Code: Select all
pars = camb.CAMBparams()
pars.set_cosmology(newparam= 1)
However I don't want to read from any file, I simply want to pass newparam from python directly, once the variable has been set, presumably at the level of recombination.py. How can I do this easily?
Thanks alot!