Documented read_input module. More...

Functions | |
| void | initialize (char *argv[], struct initialize_struct *init_struct) |
| Initialize the path to the required directories,and the interpolator of the SFR(M,z) from tabulated data provided in gb.SFR_filename. More... | |
| void | cleanup (struct Cosmology *Cx) |
| Free the memory allocated to cosmology structure and SFR interpolator. More... | |
Documented read_input module.
Documented setup_teardown module, including the initialize and clean functions that are called first and last thing in limHaloPT package.
This module provides utilityy functions to read the .ini file
Alberto Vallinotto, April 4th 2022
Azadeh Moradinezhad Dizgah & Alberto Vallinotto, April 4th 2022
| void cleanup | ( | struct Cosmology * | Cx | ) |
Free the memory allocated to cosmology structure and SFR interpolator.


| void initialize | ( | char * | argv[], |
| struct initialize_struct * | init_struct | ||
| ) |
Initialize the path to the required directories,and the interpolator of the SFR(M,z) from tabulated data provided in gb.SFR_filename.
Read in the .ini file and set the values of parameters.
The global structure "gb" have several elements to hold the paths to project source directory, input, and output folders, and values of cosmological parmaeters.
Commment out to see the names, values and numerical values of the parameters read from .ini file.
Save the values of input parmaeters to global structure or init_struct. The latter is returned as the output of the initialize() function.
Cosmological parameters corresponding to initial conditions of HiddenValley (HV) simulations
3.0665

