MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
Functions
timefac.h File Reference
#include "types.h"
#include "cosmology.h"
#include "timebinmgr.h"
Include dependency graph for timefac.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double get_exact_drift_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1)
 
double get_exact_hydrokick_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1)
 
double get_exact_gravkick_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1)
 

Function Documentation

◆ get_exact_drift_factor()

double get_exact_drift_factor ( Cosmology CP,
inttime_t  ti0,
inttime_t  ti1 
)

Definition at line 64 of file timefac.c.

65 {
66  return get_exact_factor(CP, ti0, ti1, &drift_integ);
67 }
static Cosmology * CP
Definition: power.c:27
static double drift_integ(double a, void *param)
Definition: timefac.c:17
static double get_exact_factor(Cosmology *CP, inttime_t t0, inttime_t t1, double(*factor)(double, void *))
Definition: timefac.c:46

References CP, drift_integ(), and get_exact_factor().

Referenced by domain_build_exchange_list(), drift_all_particles(), hydro_force(), lightcone_compute(), and test_drift_factor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_exact_gravkick_factor()

double get_exact_gravkick_factor ( Cosmology CP,
inttime_t  ti0,
inttime_t  ti1 
)

Definition at line 70 of file timefac.c.

71 {
72  return get_exact_factor(CP, ti0, ti1, &gravkick_integ);
73 }
static double gravkick_integ(double a, void *param)
Definition: timefac.c:25

References CP, get_exact_factor(), and gravkick_integ().

Referenced by apply_half_kick(), apply_PM_half_kick(), density(), hydro_force(), and test_drift_factor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_exact_hydrokick_factor()

double get_exact_hydrokick_factor ( Cosmology CP,
inttime_t  ti0,
inttime_t  ti1 
)

Definition at line 75 of file timefac.c.

76 {
77  return get_exact_factor(CP, ti0, ti1, &hydrokick_integ);
78 }
static double hydrokick_integ(double a, void *param)
Definition: timefac.c:35

References CP, get_exact_factor(), and hydrokick_integ().

Referenced by apply_half_kick(), density(), hydro_force(), and test_drift_factor().

Here is the call graph for this function:
Here is the caller graph for this function: