Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
ccl_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ccl_configuration
 

Typedefs

typedef CCL_BEGIN_DECLS enum transfer_function_t transfer_function_t
 
typedef enum matter_power_spectrum_t matter_power_spectrum_t
 
typedef enum baryons_power_spectrum_t baryons_power_spectrum_t
 
typedef enum mass_function_t mass_function_t
 
typedef enum halo_concentration_t halo_concentration_t
 
typedef enum emulator_neutrinos_t emulator_neutrinos_t
 
typedef struct ccl_configuration ccl_configuration
 

Enumerations

enum  transfer_function_t {
  ccl_emulator = 0, ccl_none = 0, ccl_fitting_function = 1, ccl_eisenstein_hu = 1,
  ccl_bbks = 2, ccl_boltzmann = 3, ccl_boltzmann_class = 3, ccl_boltzmann_camb = 4
}
 
enum  matter_power_spectrum_t { ccl_linear = 0, ccl_halofit = 1, ccl_halo_model = 3, ccl_emu = 4 }
 
enum  baryons_power_spectrum_t { ccl_nobaryons = 0, ccl_bcm = 1 }
 
enum  mass_function_t {
  ccl_tinker = 1, ccl_tinker10 = 2, ccl_watson = 3, ccl_angulo = 4,
  ccl_shethtormen = 5
}
 
enum  halo_concentration_t { ccl_bhattacharya2011 = 1, ccl_duffy2008 = 2, ccl_constant_concentration = 3 }
 
enum  emulator_neutrinos_t { ccl_emu_strict = 1, ccl_emu_equalize = 2 }
 

Variables

const ccl_configuration default_config
 

Typedef Documentation

Bayrons power spectrum typedef. Specified what model is being used for accounting for the impact of baryonic processes on the total matter power spectrum

Configuration typedef. This contains the transfer function, matter power spectrum, and mass function that is being used currently.

Emulator neutrinos typedef Specified whether, when the cosmic emulator is switched on, CCL should exit if non-equal neutrino masses are passed (strict) or equalize the masses, resulting in potential slight inconsistencies.

Halo concentration type definitions

Mass function typedef Contains all information that describes a specific mass function. This is basically a switch that chooses between Tinker08, Tinker10, Watson and Angulo mass functions.

Matter power spectrum typedef. Contains all information that describes a specific matter power spectrum. This inclues whether we want the linear power spectrum, whether we use halofit, and what halo model is being used.

Transfer function typedef. Contains all information that describes a specific transfer function. This includes whether there is an emulator being used (Note: not implemented yet), if there is a fitting function (E&H is the only option right now), whether to use the BBKS transfer function, and what boltzmann code to use.

Enumeration Type Documentation

Bayrons power spectrum typedef. Specified what model is being used for accounting for the impact of baryonic processes on the total matter power spectrum

Enumerator
ccl_nobaryons 
ccl_bcm 

Definition at line 58 of file ccl_config.h.

59 {
60  ccl_nobaryons = 0,
61 
62  ccl_bcm = 1
63  // even more kinds ...
baryons_power_spectrum_t
Definition: ccl_config.h:58

Emulator neutrinos typedef Specified whether, when the cosmic emulator is switched on, CCL should exit if non-equal neutrino masses are passed (strict) or equalize the masses, resulting in potential slight inconsistencies.

Enumerator
ccl_emu_strict 
ccl_emu_equalize 

Definition at line 98 of file ccl_config.h.

Halo concentration type definitions

Enumerator
ccl_bhattacharya2011 
ccl_duffy2008 
ccl_constant_concentration 

Definition at line 85 of file ccl_config.h.

Mass function typedef Contains all information that describes a specific mass function. This is basically a switch that chooses between Tinker08, Tinker10, Watson and Angulo mass functions.

Enumerator
ccl_tinker 
ccl_tinker10 
ccl_watson 
ccl_angulo 
ccl_shethtormen 

Definition at line 73 of file ccl_config.h.

74 {
75  ccl_tinker = 1,
76  ccl_tinker10 = 2,
77  ccl_watson = 3,
78  ccl_angulo = 4,
79  ccl_shethtormen = 5
mass_function_t
Definition: ccl_config.h:73

Matter power spectrum typedef. Contains all information that describes a specific matter power spectrum. This inclues whether we want the linear power spectrum, whether we use halofit, and what halo model is being used.

Enumerator
ccl_linear 
ccl_halofit 
ccl_halo_model 
ccl_emu 

Definition at line 41 of file ccl_config.h.

42 {
43  ccl_linear = 0,
44 
45  ccl_halofit = 1,
46  // more?
47  ccl_halo_model = 3,
48  // even more kinds ...
49  ccl_emu = 4
matter_power_spectrum_t
Definition: ccl_config.h:41

Transfer function typedef. Contains all information that describes a specific transfer function. This includes whether there is an emulator being used (Note: not implemented yet), if there is a fitting function (E&H is the only option right now), whether to use the BBKS transfer function, and what boltzmann code to use.

Enumerator
ccl_emulator 
ccl_none 
ccl_fitting_function 
ccl_eisenstein_hu 
ccl_bbks 
ccl_boltzmann 
ccl_boltzmann_class 
ccl_boltzmann_camb 

Definition at line 16 of file ccl_config.h.

17 {
18  // If using an emulator for P_NL
19  ccl_emulator = 0,
20  ccl_none = 0,
21 
24 
25  ccl_bbks = 2,
26 
27  ccl_boltzmann = 3,
29 
31 
transfer_function_t
Definition: ccl_config.h:16

Variable Documentation

const ccl_configuration default_config

The default configuration object In the default configuration, defined in ccl_core.c CCL runs with: default_config = {ccl_boltzmann_class, ccl_halofit, ccl_nobaryons, ccl_tinker10, ccl_duffy2008, ccl_emu_strict}

Definition at line 21 of file ccl_core.c.

Referenced by check_mgrowth(), compare_bbks(), compare_bcm(), compare_cls(), compare_corr(), compare_correlation_3d(), compare_distances(), compare_distances_hiz(), compare_distances_hiz_mnu(), compare_distances_mnu(), compare_eh(), compare_emu(), compare_emu_nu(), compare_growth(), compare_growth_hiz(), compare_halomod(), compare_massfunc(), compare_power_nu(), compare_power_nu_nl(), compare_sigmam(), main(), test_angpow_precision(), and write_Pk_CLASS().