|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|

Go to the source code of this file.
Macros | |
| #define | HM_MMIN 1e7 |
| #define | HM_MMAX 1e17 |
| #define | HM_EPSABS 0 |
| #define | HM_EPSREL 1E-4 |
| #define | HM_LIMIT 1000 |
| #define | HM_INT_METHOD GSL_INTEG_GAUSS41 |
Typedefs | |
| typedef CCL_BEGIN_DECLS enum ccl_win_label | ccl_win_label |
Enumerations | |
| enum | ccl_win_label { ccl_nfw = 1 } |
Functions | |
| 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_halomodel_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) |
| #define HM_EPSABS 0 |
Definition at line 8 of file ccl_halomod.h.
Referenced by one_halo_integral(), and two_halo_integral().
| #define HM_EPSREL 1E-4 |
Definition at line 9 of file ccl_halomod.h.
Referenced by one_halo_integral(), and two_halo_integral().
| #define HM_INT_METHOD GSL_INTEG_GAUSS41 |
Definition at line 11 of file ccl_halomod.h.
Referenced by one_halo_integral(), and two_halo_integral().
| #define HM_LIMIT 1000 |
Definition at line 10 of file ccl_halomod.h.
Referenced by one_halo_integral(), and two_halo_integral().
| #define HM_MMAX 1e17 |
Definition at line 7 of file ccl_halomod.h.
Referenced by one_halo_integral(), and two_halo_integral().
| #define HM_MMIN 1e7 |
Definition at line 6 of file ccl_halomod.h.
Referenced by ccl_twohalo_matter_power(), one_halo_integral(), and two_halo_integral().
| typedef CCL_BEGIN_DECLS enum ccl_win_label ccl_win_label |
| enum ccl_win_label |
| double ccl_halo_concentration | ( | ccl_cosmology * | cosmo, |
| double | halomass, | ||
| double | a, | ||
| double | odelta, | ||
| int * | status | ||
| ) |
Computes the concentration of a halo of mass M. This is the ratio of virial raidus to scale radius for an NFW halo.
| cosmo | cosmology object containing parameters |
| halomass | halo mass in units of Msun |
| a | scale factor normalised to a=1 today |
| odelta | overdensity criteria (with respect to matter density) used for halo mass |
| status | Status flag: 0 if there are no errors, non-zero otherwise |
Definition at line 52 of file ccl_halomod.c.
References ccl_bhattacharya2011, ccl_constant_concentration, ccl_cosmology_set_status_message(), ccl_duffy2008, CCL_ERROR_CONC_DV, CCL_ERROR_HALOCONC, ccl_growth_factor(), ccl_raise_exception(), ccl_sigmaM(), ccl_cosmology::config, Dv_BryanNorman(), ccl_parameters::h, ccl_configuration::halo_concentration_method, ccl_cosmology::params, and pow().
Referenced by window_function().
| double ccl_halomodel_matter_power | ( | ccl_cosmology * | cosmo, |
| double | k, | ||
| double | a, | ||
| int * | status | ||
| ) |
Computes the halo model density-density power spectrum as the sum of two- and one-halo terms.
| cosmo | cosmology object containing parameters |
| k | wavenumber in units of Mpc^{-1} |
| a | scale factor normalised to a=1 today |
| status | Status flag: 0 if there are no errors, non-zero otherwise |
Definition at line 314 of file ccl_halomod.c.
References ccl_onehalo_matter_power(), and ccl_twohalo_matter_power().
Referenced by compare_halomod().
| double ccl_onehalo_matter_power | ( | ccl_cosmology * | cosmo, |
| double | k, | ||
| double | a, | ||
| int * | status | ||
| ) |
Computes the halo model density-density power spectrum one-halo term.
| cosmo | cosmology object containing parameters |
| k | wavenumber in units of Mpc^{-1} |
| a | scale factor normalised to a=1 today |
| status | Status flag: 0 if there are no errors, non-zero otherwise |
Definition at line 304 of file ccl_halomod.c.
References one_halo_integral().
Referenced by ccl_halomodel_matter_power().
| double ccl_twohalo_matter_power | ( | ccl_cosmology * | cosmo, |
| double | k, | ||
| double | a, | ||
| int * | status | ||
| ) |
Computes the halo model density-density power spectrum two-halo term.
| cosmo | cosmology object containing parameters |
| k | wavenumber in units of Mpc^{-1} |
| a | scale factor normalised to a=1 today |
| status | Status flag: 0 if there are no errors, non-zero otherwise |
Definition at line 277 of file ccl_halomod.c.
References ccl_linear_matter_power(), ccl_nfw, Dv_BryanNorman(), HM_MMIN, two_halo_integral(), and window_function().
Referenced by ccl_halomodel_matter_power().