Skip to content

Commit

Permalink
changed default non-linear model to HMcode-2020 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmbant committed Jan 12, 2021
1 parent 126da1c commit 3a90f29
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,3 @@ deploy:
branch: master
repo: cmbant/CAMB
tags: true


Binary file modified camb/cambdll.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion camb/nonlinear.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class NonLinearModel(F2003Class):
halofit_mead2020 = 'mead2020'
halofit_mead2020_feedback = 'mead2020_feedback'

halofit_default = halofit_mead
halofit_default = halofit_mead2020

halofit_version_names = {halofit_original : 1,
halofit_bird : 2,
Expand Down
2 changes: 1 addition & 1 deletion fortran/halofit.f90
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module NonLinear
integer, parameter :: halofit_mead2016=5, halofit_halomodel=6, halofit_mead2015=8, halofit_mead2020=9
integer, parameter :: halofit_mead2020_feedback=10
integer, parameter :: halofit_mead=halofit_mead2016 ! AM Kept for backwards compatability
integer, parameter :: halofit_default=halofit_mead2016
integer, parameter :: halofit_default=halofit_mead2020

logical :: HM_verbose = .false.

Expand Down
2 changes: 1 addition & 1 deletion inifiles/params.ini
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ do_late_rad_truncation = T
#8. HMcode (Mead et al. 2015; arXiv:1505.07833)
#9. HMcode-2020 (Mead et al. 2020; arXiv:2009.01858)
#10. HMcode-2020 with baryonic feedback (Mead et al. 2020; arXiv:2009.01858)
halofit_version= 4
halofit_version = 9

#Baryonic feedback temperature if using HMcode-2020 with feedback
#HMcode_logT_AGN = 7.8
Expand Down

0 comments on commit 3a90f29

Please sign in to comment.