GADGET-4
|
#include <driftfac.h>
Public Member Functions | |
void | init_drift_table (void) |
double | get_drift_factor (integertime time0, integertime time1) |
double | get_gravkick_factor (integertime time0, integertime time1) |
double | get_hydrokick_factor (integertime time0, integertime time1) |
double | get_comoving_distance (integertime time0) |
double | get_comoving_distance_for_scalefactor (double ascale) |
double | get_scalefactor_for_comoving_distance (double dist) |
integertime | get_gravkick_factor_inverse (double fac) |
Static Public Member Functions | |
static double | hubble_function (double a) |
Definition at line 27 of file driftfac.h.
double get_comoving_distance | ( | integertime | time0 | ) |
Definition at line 191 of file driftfac.cc.
double get_comoving_distance_for_scalefactor | ( | double | ascale | ) |
Definition at line 199 of file driftfac.cc.
double get_drift_factor | ( | integertime | time0, |
integertime | time1 | ||
) |
This function integrates the cosmological prefactor for a drift step between time0 and time1. The value returned is
A lookup-table is used for reasons of speed.
Definition at line 68 of file driftfac.cc.
double get_gravkick_factor | ( | integertime | time0, |
integertime | time1 | ||
) |
Definition at line 109 of file driftfac.cc.
integertime get_gravkick_factor_inverse | ( | double | fac | ) |
Definition at line 220 of file driftfac.cc.
double get_hydrokick_factor | ( | integertime | time0, |
integertime | time1 | ||
) |
Definition at line 150 of file driftfac.cc.
double get_scalefactor_for_comoving_distance | ( | double | dist | ) |
Definition at line 209 of file driftfac.cc.
|
inlinestatic |
Definition at line 39 of file driftfac.h.
void init_drift_table | ( | void | ) |
Definition at line 26 of file driftfac.cc.