|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
#include <math.h>#include <stdio.h>#include <stdlib.h>#include <ccl.h>#include <ccl_redshifts.h>
Go to the source code of this file.
Classes | |
| struct | user_pz_params |
| struct | user_dN_params |
Functions | |
| double | sigmaz_sources (double z) |
| double | user_pz_probability (double z_ph, double z_s, void *user_par, int *status) |
| double | user_dNdz (double z, void *user_par, int *status) |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 48 of file ccl_sample_photoz.c.
References user_dN_params::alpha, user_dN_params::beta, ccl_create_dNdz_info(), ccl_create_photoz_info(), ccl_dNdz_tomog(), ccl_free_dNdz_info(), ccl_free_photoz_info(), user_pz_params::sigma_z, sigmaz_sources(), user_dNdz(), user_pz_probability(), z, and user_dN_params::z0.
Definition at line 40 of file ccl_sample_photoz.c.
References user_dN_params::alpha, user_dN_params::beta, p, pow(), and user_dN_params::z0.
Referenced by main().
Definition at line 24 of file ccl_sample_photoz.c.
References M_PI, p, pow(), and user_pz_params::sigma_z.
Referenced by main().