|
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.
Classes | |
| struct | massfunc_data |
Macros | |
| #define | SIGMA_TOLERANCE 3e-5 |
| #define | INVSIGMA_TOLERANCE 1e-3 |
| #define | MASSFUNC_TOLERANCE 5e-5 |
Functions | |
| static void | read_massfunc_test_file (double mass[13], double massfunc[3][13]) |
| void | __attribute__ ((weak)) |
| static void | compare_massfunc (int model, struct massfunc_data *data) |
| void | __ctest_massfunc_model_1_run (struct massfunc_data *data) |
Variables | |
| static struct massfunc_data | __ctest_massfunc_data |
| #define INVSIGMA_TOLERANCE 1e-3 |
Definition at line 9 of file ccl_test_massfunc.c.
Referenced by compare_massfunc().
| #define MASSFUNC_TOLERANCE 5e-5 |
Definition at line 10 of file ccl_test_massfunc.c.
Referenced by compare_massfunc().
| #define SIGMA_TOLERANCE 3e-5 |
Definition at line 8 of file ccl_test_massfunc.c.
Referenced by compare_massfunc().
| void __attribute__ | ( | (weak) | ) |
Definition at line 53 of file ccl_test_massfunc.c.
References ccl_mnu_sum, and read_massfunc_test_file().
| void __ctest_massfunc_model_1_run | ( | struct massfunc_data * | data | ) |
Definition at line 130 of file ccl_test_massfunc.c.
References compare_massfunc().
|
static |
Definition at line 80 of file ccl_test_massfunc.c.
References massfunc_data::A_s, ASSERT_DBL_NEAR_TOL, ASSERT_NOT_NULL, ccl_bbks, ccl_cosmology_create(), ccl_massfunc(), ccl_parameters_create(), ccl_sigmaM(), ccl_tinker, cl_cmbl_bm::cosmo, default_config, massfunc_data::h, ccl_parameters::h, INVSIGMA_TOLERANCE, ccl_configuration::mass_function_method, massfunc_data::massfunc, MASSFUNC_TOLERANCE, massfunc_data::mnu, massfunc_data::n_s, massfunc_data::Neff, massfunc_data::Omega_b, massfunc_data::Omega_c, ccl_parameters::Omega_g, massfunc_data::Omega_k, ccl_parameters::Omega_l, ccl_parameters::Omega_m, massfunc_data::Omega_v, halomod_bm::params, ccl_cosmology::params, pow(), RHO_CRITICAL, massfunc_data::sigma8, ccl_parameters::sigma8, SIGMA_TOLERANCE, ccl_configuration::transfer_function_method, massfunc_data::w_0, and massfunc_data::w_a.
Referenced by __ctest_massfunc_model_1_run().
Definition at line 31 of file ccl_test_massfunc.c.
References ASSERT_EQUAL, ASSERT_NOT_NULL, and Catch::Matchers::Vector::Detail::count().
Referenced by __attribute__().
|
static |
Definition at line 130 of file ccl_test_massfunc.c.