|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
#include "common.h"
Go to the source code of this file.
Classes | |
| struct | IntClPar |
| struct | IntWtPar |
Functions | |
| static double | cl_integrand (double lk, void *params) |
| static double | spectra (char *tr1, char *tr2, int l, RunParams *par) |
| void | compute_spectra (RunParams *par) |
| static double | wt_integrand (double l, void *params) |
| static void | compute_wt_single (RunParams *par, double *cl, double *wt, double *llist, int bessel_order) |
| void | compute_w_theta (RunParams *par) |
Definition at line 10 of file spectra.c.
References RunParams::cpar, IntClPar::l, p, IntClPar::par, pow(), IntClPar::tr1, IntClPar::tr2, and transfer_wrap().
Referenced by spectra().
| void compute_spectra | ( | RunParams * | par | ) |
Definition at line 40 of file spectra.c.
References RunParams::cl_cc, RunParams::cl_ci, RunParams::cl_d1l2, RunParams::cl_d2l1, RunParams::cl_dc, RunParams::cl_dd, RunParams::cl_di, RunParams::cl_ii, RunParams::cl_lc, RunParams::cl_li, RunParams::cl_ll, RunParams::do_cmblens, RunParams::do_isw, RunParams::do_nc, RunParams::do_shear, cl_cmbl_bm::l, RunParams::lmax, and spectra().
Referenced by main().
| void compute_w_theta | ( | RunParams * | par | ) |
Definition at line 149 of file spectra.c.
References RunParams::cl_cc, RunParams::cl_ci, RunParams::cl_d1l2, RunParams::cl_d2l1, RunParams::cl_dc, RunParams::cl_dd, RunParams::cl_di, RunParams::cl_ii, RunParams::cl_lc, RunParams::cl_li, RunParams::cl_ll, compute_wt_single(), dam_malloc(), RunParams::do_cmblens, RunParams::do_isw, RunParams::do_nc, RunParams::do_shear, RunParams::do_w_theta, cl_cmbl_bm::l, RunParams::lmax, RunParams::wt_cc, RunParams::wt_ci, RunParams::wt_d1l2, RunParams::wt_d2l1, RunParams::wt_dc, RunParams::wt_dd, RunParams::wt_di, RunParams::wt_ii, RunParams::wt_lc, RunParams::wt_li, RunParams::wt_ll_mm, and RunParams::wt_ll_pp.
Referenced by main().
|
static |
Definition at line 110 of file spectra.c.
References IntWtPar::cl, IntWtPar::clsp, RunParams::do_w_theta_logbin, DTOR, IntWtPar::i_bessel, RunParams::lmax, M_PI, RunParams::n_th, RunParams::n_th_logint, IntWtPar::par, pow(), spline_free(), spline_init(), IntWtPar::th, RunParams::th_max, RunParams::th_min, w, and wt_integrand().
Referenced by compute_w_theta().
Definition at line 22 of file spectra.c.
References cl_integrand(), D_LKMAX, D_LKMIN, IntClPar::l, cl_cmbl_bm::l, IntClPar::par, IntClPar::tr1, IntClPar::tr2, and w.
Referenced by ccl_cosmology_compute_power_class(), ccl_cosmology_compute_power_emu(), ccl_cosmology_write_power_class_z(), ccl_get_class_As(), and compute_spectra().
Definition at line 94 of file spectra.c.
References IntWtPar::cl, IntWtPar::i_bessel, p, IntWtPar::th, and x.
Referenced by compute_wt_single().