Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
ccl_halomod.h
Go to the documentation of this file.
1 
3 #ifndef __CCL_HALOMOD_H_INCLUDED__
4 #define __CCL_HALOMOD_H_INCLUDED__
5 
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
12 
14 
15  // halo window profiles
16  typedef enum ccl_win_label {
17  ccl_nfw = 1,
18  } ccl_win_label;
19 
28  double ccl_twohalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status);
29 
38  double ccl_onehalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status);
39 
48  double ccl_halomodel_matter_power(ccl_cosmology *cosmo, double k, double a, int *status);
49 
60  double ccl_halo_concentration(ccl_cosmology *cosmo, double halomass, double a, double odelta, int *status);
61 
63 
64 #endif
double ccl_halomodel_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
Definition: ccl_halomod.c:314
#define CCL_BEGIN_DECLS
Definition: ccl_defs.h:17
double ccl_twohalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
Definition: ccl_halomod.c:277
ccl_win_label
Definition: ccl_halomod.h:16
double ccl_onehalo_matter_power(ccl_cosmology *cosmo, double k, double a, int *status)
Definition: ccl_halomod.c:304
double ccl_halo_concentration(ccl_cosmology *cosmo, double halomass, double a, double odelta, int *status)
Definition: ccl_halomod.c:52
#define CCL_END_DECLS
Definition: ccl_defs.h:18