MP-Gadget
5.0.1.dev1-76bc7d4726-dirty
libgadget
cooling_qso_lightup.h
Go to the documentation of this file.
1
#ifndef _COOLING_QSO_LIGHTUP_H
2
#define _COOLING_QSO_LIGHTUP_H
3
4
#include "
forcetree.h
"
5
#include "
fof.h
"
6
#include "
utils/paramset.h
"
7
8
void
set_qso_lightup_params
(
ParameterSet
* ps);
9
10
/* Initialize the helium reionization cooling module*/
11
void
init_qso_lightup
(
char
* reion_hist_file);
12
13
/* Starts reionization by selecting the first halo and flagging all particles in the first HeIII bubble*/
14
void
do_heiii_reionization
(
double
atime,
FOFGroups
* fof,
DomainDecomp
* ddecomp,
Cosmology
*
CP
,
double
uu_in_cgs, FILE * FdHelium);
15
16
/* Get the long mean free path photon heating that applies to not-yet-ionized particles*/
17
double
get_long_mean_free_path_heating
(
double
redshift);
18
19
/* Returns 1 if helium reionization is in progress, 0 otherwise*/
20
int
during_helium_reionization
(
double
redshift);
21
22
/* Returns 1 if the helium model is enabled*/
23
int
qso_lightup_on
(
void
);
24
25
/* Returns 1 if there is any work to do to ionize more particles, 0 otherwise*/
26
int
need_change_helium_ionization_fraction
(
double
atime);
27
#endif
get_long_mean_free_path_heating
double get_long_mean_free_path_heating(double redshift)
Definition:
cooling_qso_lightup.c:249
set_qso_lightup_params
void set_qso_lightup_params(ParameterSet *ps)
Definition:
cooling_qso_lightup.c:94
do_heiii_reionization
void do_heiii_reionization(double atime, FOFGroups *fof, DomainDecomp *ddecomp, Cosmology *CP, double uu_in_cgs, FILE *FdHelium)
Definition:
cooling_qso_lightup.c:640
need_change_helium_ionization_fraction
int need_change_helium_ionization_fraction(double atime)
Definition:
cooling_qso_lightup.c:657
init_qso_lightup
void init_qso_lightup(char *reion_hist_file)
Definition:
cooling_qso_lightup.c:238
qso_lightup_on
int qso_lightup_on(void)
Definition:
cooling_qso_lightup.c:682
during_helium_reionization
int during_helium_reionization(double redshift)
Definition:
cooling_qso_lightup.c:667
fof.h
forcetree.h
paramset.h
CP
static Cosmology * CP
Definition:
power.c:27
Cosmology
Definition:
cosmology.h:8
DomainDecomp
Definition:
domain.h:33
FOFGroups
Definition:
fof.h:62
ParameterSet
Definition:
paramset.c:95
Generated by
1.9.1