MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include "physconst.h"
#include "timefac.h"
#include "timebinmgr.h"
#include "utils.h"
Go to the source code of this file.
Macros | |
#define | WORKSIZE 10000 |
Functions | |
static double | drift_integ (double a, void *param) |
static double | gravkick_integ (double a, void *param) |
static double | hydrokick_integ (double a, void *param) |
static double | get_exact_factor (Cosmology *CP, inttime_t t0, inttime_t t1, double(*factor)(double, void *)) |
double | get_exact_drift_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1) |
double | get_exact_gravkick_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1) |
double | get_exact_hydrokick_factor (Cosmology *CP, inttime_t ti0, inttime_t ti1) |
|
static |
Definition at line 17 of file timefac.c.
References CP, and hubble_function().
Referenced by get_exact_drift_factor().
Definition at line 64 of file timefac.c.
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().
|
static |
Definition at line 46 of file timefac.c.
References CP, loga_from_ti(), and WORKSIZE.
Referenced by get_exact_drift_factor(), get_exact_gravkick_factor(), and get_exact_hydrokick_factor().
Definition at line 70 of file timefac.c.
References CP, get_exact_factor(), and gravkick_integ().
Referenced by apply_half_kick(), apply_PM_half_kick(), density(), hydro_force(), and test_drift_factor().
Definition at line 75 of file timefac.c.
References CP, get_exact_factor(), and hydrokick_integ().
Referenced by apply_half_kick(), density(), hydro_force(), and test_drift_factor().
|
static |
Definition at line 25 of file timefac.c.
References CP, and hubble_function().
Referenced by get_exact_gravkick_factor().
|
static |
Definition at line 35 of file timefac.c.
References CP, GAMMA_MINUS1, and hubble_function().
Referenced by get_exact_hydrokick_factor().