|
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 | Fpar |
| struct | IntLensPar |
Functions | |
| static double | speval_bis (double x, void *params) |
| static double | fzero (double a, void *params) |
| static double | dfzero (double a, void *params) |
| static void | fdfzero (double a, void *params, double *f, double *df) |
| static double | a_of_chi (double chi, Csm_params *cpar, double *a_old, gsl_root_fdfsolver *s) |
| static double | integrand_wm (double chip, void *params) |
| static double | window_magnification (double chi, RunParams *par, int i_window) |
| static double | integrand_wl (double chip, void *params) |
| static double | window_lensing (double chi, RunParams *par, int i_window) |
| RunParams * | init_params (char *fname_ini) |
|
static |
Definition at line 34 of file cosmo.c.
References Fpar::chi, Fpar::cpar, dfzero(), fdfzero(), fzero(), and p.
Referenced by init_params().
Definition at line 21 of file cosmo.c.
References ccl_test_distances::h.
Referenced by a_of_chi(), and fdfzero().
Definition at line 13 of file cosmo.c.
Referenced by a_of_chi(), and fdfzero().
| RunParams* init_params | ( | char * | fname_ini | ) |
Definition at line 186 of file cosmo.c.
References a_of_chi(), RunParams::aofchi, RunParams::bias, RunParams::chi_horizon, RunParams::chi_LSS, 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::cpar, D_LKMAX, D_LKMIN, D_TCMB, D_Z_REC, dam_fopen(), dam_linecount(), dam_malloc(), dam_report_error(), RunParams::dchi, RunParams::do_cmblens, RunParams::do_isw, RunParams::do_nc, RunParams::do_shear, RunParams::do_w_theta, RunParams::fgofchi, RunParams::fname_bias, RunParams::fname_pk, RunParams::fname_sbias, RunParams::fname_window, RunParams::gfofchi, RunParams::h0, RunParams::has_bg, RunParams::has_dens, RunParams::has_lensing, RunParams::hofchi, RunParams::lmax, RunParams::n_th, RunParams::ns, RunParams::ob, RunParams::ol, RunParams::om, param_new(), RunParams::prefac_lensing, read_parameter_file(), RunParams::s8, RunParams::sbias, speval_bis(), spline_free(), spline_init(), growth_allz::T, w, RunParams::w0, RunParams::wa, RunParams::wind_0, RunParams::wind_L, RunParams::wind_M, window_lensing(), window_magnification(), 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, RunParams::wt_ll_pp, x, SplPar::xf, and RunParams::zofchi.
Referenced by main().
Definition at line 103 of file cosmo.c.
References IntLensPar::chi, ccl_test_distances::h, RunParams::hofchi, IntLensPar::i_window, p, IntLensPar::par, spline_eval(), RunParams::wind_0, z, and RunParams::zofchi.
Referenced by window_lensing().
Definition at line 71 of file cosmo.c.
References IntLensPar::chi, ccl_test_distances::h, RunParams::hofchi, IntLensPar::i_window, p, IntLensPar::par, RunParams::sbias, spline_eval(), mk_bins::sz, RunParams::wind_0, z, and RunParams::zofchi.
Referenced by window_magnification().
Definition at line 3 of file cosmo.c.
References spline_eval().
Referenced by init_params().
Definition at line 117 of file cosmo.c.
References RunParams::aofchi, IntLensPar::chi, RunParams::chi_horizon, RunParams::cpar, dam_fopen(), RunParams::do_nc, RunParams::do_shear, RunParams::fgofchi, RunParams::gfofchi, RunParams::has_lensing, RunParams::hofchi, IntLensPar::i_window, integrand_wl(), IntLensPar::par, RunParams::prefix_out, spline_eval(), w, RunParams::wind_0, RunParams::wind_L, RunParams::wind_M, SplPar::xf, z, and RunParams::zofchi.
Referenced by init_params().
Definition at line 86 of file cosmo.c.
References IntLensPar::chi, RunParams::chi_horizon, IntLensPar::i_window, integrand_wm(), IntLensPar::par, and w.
Referenced by init_params().