|
MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
|
#include <stdarg.h>#include <stddef.h>#include <setjmp.h>#include <cmocka.h>#include <math.h>#include <stdio.h>#include <stdint.h>#include <stdlib.h>#include <string.h>#include <libgadget/config.h>#include <libgadget/physconst.h>#include <libgadget/cosmology.h>#include <libgadget/cooling.h>#include <libgadget/cooling_rates.h>#include <libgadget/utils/peano.h>#include <libgadget/partmanager.h>#include <libgadget/utils/endrun.h>#include "stub.h"Go to the source code of this file.
Macros | |
| #define | NSTEP 20 |
Functions | |
| double | get_long_mean_free_path_heating (double redshift) |
| void | init_qso_lightup (char *reion_hist_file) |
| int | during_helium_reionization (double redshift) |
| static void | test_DoCooling (void **state) |
| int | main (void) |
Variables | |
| static double | unew_table [NSTEP *NSTEP] |
| static double | tcool_table [NSTEP *NSTEP] |
| struct part_manager_type | PartManager [1] |
| #define NSTEP 20 |
Definition at line 41 of file test_cooling.c.
| int during_helium_reionization | ( | double | redshift | ) |
Definition at line 36 of file test_cooling.c.
| double get_long_mean_free_path_heating | ( | double | redshift | ) |
Definition at line 23 of file test_cooling.c.
| void init_qso_lightup | ( | char * | reion_hist_file | ) |
Definition at line 30 of file test_cooling.c.
| int main | ( | void | ) |
Definition at line 243 of file test_cooling.c.
References test_DoCooling().
|
static |
Definition at line 156 of file test_cooling.c.
References BOLTZMANN, Cen92, cooling_params::CMBTemperature, cooling_params::cooling, cooling_units::CoolingOn, coolunits, CP, cooling_units::density_in_phys_cgs, DoCooling(), UVBG::epsH0, UVBG::epsHe0, UVBG::epsHep, cooling_params::fBar, GAMMA_MINUS1, get_global_UVBG(), GetCoolingTime(), GRAVITY, cooling_params::HeliumHeatAmp, cooling_params::HeliumHeatExp, cooling_params::HeliumHeatOn, cooling_params::HeliumHeatThresh, HUBBLE, Cosmology::HubbleParam, HYDROGEN_MASSFRAC, cooling_params::HydrogenHeatAmp, init_cooling(), KWH92, MetalCool, cooling_params::MinGasTemp, NSTEP, Cosmology::OmegaBaryon, Cosmology::OmegaCDM, cooling_params::PhotoIonizationOn, cooling_params::PhotoIonizeFactor, PROTONMASS, cooling_params::recomb, cooling_units::rho_crit_baryon, cooling_params::rho_crit_baryon, cooling_params::SelfShieldingOn, set_coolpar(), tcool_table, cooling_units::tt_in_s, unew_table, UnitLength_in_cm, cooling_units::uu_in_cgs, and cooling_params::UVRedshiftThreshold.
Referenced by main().
| struct part_manager_type PartManager[1] |
Definition at line 97 of file test_cooling.c.
Definition at line 97 of file test_cooling.c.
Referenced by test_DoCooling().
Definition at line 43 of file test_cooling.c.
Referenced by test_DoCooling().