15#include <gsl/gsl_integration.h>
16#include <gsl/gsl_math.h>
23#include "../data/dtypes.h"
24#include "../main/main.h"
25#include "gadgetconfig.h"
49#define DRIFT_TABLE_LENGTH 1000
63 static double drift_integ(
double a,
void *param)
67 return 1 / (h * a * a * a);
70 static double gravkick_integ(
double a,
void *param)
74 return 1 / (h * a * a);
77 static double hydrokick_integ(
double a,
void *param)
global_data_all_processes All
static double hubble_function(double a)
double get_drift_factor(integertime time0, integertime time1)
double get_comoving_distance_for_scalefactor(double ascale)
double get_gravkick_factor(integertime time0, integertime time1)
double get_hydrokick_factor(integertime time0, integertime time1)
double get_scalefactor_for_comoving_distance(double dist)
double get_comoving_distance(integertime time0)
integertime get_gravkick_factor_inverse(double fac)
void init_drift_table(void)
#define DRIFT_TABLE_LENGTH
expr pow(half base, half exp)