MP-Gadget  5.0.1.dev1-76bc7d4726-dirty
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 
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*/
27 #endif
double get_long_mean_free_path_heating(double redshift)
void set_qso_lightup_params(ParameterSet *ps)
void do_heiii_reionization(double atime, FOFGroups *fof, DomainDecomp *ddecomp, Cosmology *CP, double uu_in_cgs, FILE *FdHelium)
int need_change_helium_ionization_fraction(double atime)
void init_qso_lightup(char *reion_hist_file)
int qso_lightup_on(void)
int during_helium_reionization(double redshift)
static Cosmology * CP
Definition: power.c:27
Definition: fof.h:62