Subroutines
  • conc_bull(this, z, cosm, lut)
  • GetNonLinRatios(this, State, CAMB_Pk)
    Fill the CAMB_Pk%nonlin_scaling array with sqrt(non-linear power/linear power) for each redshift and wavenumber This implementation uses Halofit $ use omp_lib, only: omp_set_num_threads
  • halofit(this, hf, rk, rn, plin, pnl, pq, ph, rknl, rncur)
    • THalofit   :: this
    • THalofit_zparams intent(in)  :: hf
    • real(dl)  :: rk
    • real(dl)  :: rn
    • real(dl)  :: plin
    • real(dl)  :: pnl
    • real(dl)  :: pq
    • real(dl)  :: ph
    • real(dl)  :: rknl
    • real(dl)  :: rncur
  • halomod(this, p1h, p2h, pfull, plin, k, cosm, lut)
    • THalofit   :: this
    • real(dl) intent(out) :: p1h
    • real(dl) intent(out) :: p2h
    • real(dl) intent(out) :: pfull
    • real(dl) intent(in) :: plin
    • real(dl) intent(in) :: k
    • HM_cosmology intent(in)  :: cosm
    • HM_tables intent(in)  :: lut
  • halomod_init(this, imead, z, reuse, cosm, lut)
  • HMcode(this, State, CAMB_Pk)
    AM - A CAMB derived type that I need
  • ReadParams(this, Ini)
    • THalofit   :: this
    • TIniFile intent(in) :: Ini
  • SelfPointer(cptr, P)
  • write_parameters(this, z, cosm, lut)
  • zcoll_bull(this, z, cosm, lut)
Functions
  • real(dl)
    alpha(lut)
    Two- to one-halo transition smoothing from Mead et al. (2015; arXiv 1505.07833)
  • real(dl)
    As(lut, cosm)
    Halo concentration pre-factor from Bullock et al. (2001) relation
  • real(dl)
    delta_c(z, cosm, lut)
    Function for the linear collapse density
  • real(dl)
    Delta_v(z, cosm, lut)
    Function for the virialised overdensity
  • real(dl)
    eta(cosm, lut)
    Function eta that puffs halo profiles
  • real(dl)
    fdamp(lut)
    Linear power damping function from Mead et al. (2015; arXiv 1505.07833)
  • real(dl)
    kstar(lut)
    Function k* that cuts off the 1-halo term at large scales
  • real(dl)
    p_1h(k, lut, cosm)
    Calculates the 1-halo term
  • real(dl)
    p_2h(k, plin, lut, cosm)
    Calculates the 2-halo term
  • character(len=:) allocatable
    PythonClass()
Properties
  • integer :: halofit_version
  • real(dl) :: HMcode_A_baryon
  • real(dl) :: HMcode_eta_baryon
  • real(dl) :: HMcode_logT_AGN
  • real(dl) :: HMcode_wiggle_max_fnu