3 #ifndef __CCL_HALOMOD_H_INCLUDED__ 4 #define __CCL_HALOMOD_H_INCLUDED__ 6 #define HM_MMIN 1e7 // Minimum mass for the halo-model integration 7 #define HM_MMAX 1e17 // Maximum mass for the halo-model integration 8 #define HM_EPSABS 0 // Absolute error for the halo-model integration 9 #define HM_EPSREL 1E-4 // Relative error for the halo-model integration 10 #define HM_LIMIT 1000 // Maximum sub intervals for the halo-model integration 11 #define HM_INT_METHOD GSL_INTEG_GAUSS41 // Integration scheme for halo-model integration double ccl_halomodel_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
double ccl_twohalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
double ccl_onehalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
double ccl_halo_concentration(ccl_cosmology *cosmo, double halomass, double a, double odelta, int *status)