|
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 | A_MIN_EMU 1./3. |
| #define | K_MAX_EMU 5.0 |
| #define | K_MIN_EMU 1.0000000474974513E-003 |
| #define | NK_EMU 351 |
Functions | |
| CCL_BEGIN_DECLS void | ccl_pkemu (double *xstarin, double **Pkemu, int *status, ccl_cosmology *cosmo) |
| #define A_MIN_EMU 1./3. |
Definition at line 4 of file ccl_emu17.h.
Referenced by ccl_cosmology_compute_power_emu(), ccl_linear_matter_power(), and ccl_nonlin_matter_power().
| #define K_MAX_EMU 5.0 |
Definition at line 5 of file ccl_emu17.h.
Referenced by ccl_cosmology_compute_power_emu().
| #define K_MIN_EMU 1.0000000474974513E-003 |
Definition at line 6 of file ccl_emu17.h.
Referenced by ccl_cosmology_compute_power_emu().
| #define NK_EMU 351 |
Definition at line 7 of file ccl_emu17.h.
Referenced by ccl_cosmology_compute_power_emu(), and ccl_pkemu().
| CCL_BEGIN_DECLS void ccl_pkemu | ( | double * | xstarin, |
| double ** | Pkemu, | ||
| int * | status, | ||
| ccl_cosmology * | cosmo | ||
| ) |
Emulator power spectrum Obtain P(k,z) [Mpc^3] for a given set of input parameters.
| xstarin | vector of input parameters for the emulator, including redshift. |
| Pkemu | output P(k,z) power spectrum |
| status | Status flag. 0 if there are no errors, nonzero otherwise. |
| cosmo | Cosmology parameters and configurations (only relevant for storing status) |
Definition at line 141 of file ccl_emu17.c.
References beta, ccl_cosmology_set_status_message(), CCL_ERROR_EMULATOR_BOUND, ccl_raise_exception(), emuInit(), K, KrigBasis, lamz, m, M_PI, mean, mode, neta, NK_EMU, p, peta, pow(), rs, sd, ccl_cosmology::status_message, x, xmax, xmin, xrange, and z.
Referenced by ccl_cosmology_compute_power_emu().