4 #include <gsl/gsl_interp.h>
5 #include <gsl/gsl_rng.h>
7 #define MAX_FERMI_DIRAC 17.0
8 #define LENGTH_FERMI_DIRAC_TABLE 2000
32 NU_V0(
const double Time,
const double kBTNubyMNu,
const double UnitVelocity_in_cm_per_s);
36 WDM_V0(
const double Time,
const double WDM_therm_mass,
const double Omega_CDM,
const double HubbleParam,
const double UnitVelocity_in_cm_per_s);
double fermi_dirac_cumprob[LENGTH_FERMI_DIRAC_TABLE]
double fermi_dirac_vel[LENGTH_FERMI_DIRAC_TABLE]
gsl_interp_accel * fd_intp_acc
double NU_V0(const double Time, const double kBTNubyMNu, const double UnitVelocity_in_cm_per_s)
double WDM_V0(const double Time, const double WDM_therm_mass, const double Omega_CDM, const double HubbleParam, const double UnitVelocity_in_cm_per_s)
unsigned int * init_rng(int Seed, int Nmesh)
double init_thermalvel(struct thermalvel *thermals, const double v_amp, double max_fd, const double min_fd)
void add_thermal_speeds(struct thermalvel *thermals, gsl_rng *g_rng, float Vel[])
#define LENGTH_FERMI_DIRAC_TABLE