Skip to content
Snippets Groups Projects
Commit 19a9e958 authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Start of the starformation gas to star function pair and add example syntax to...

Start of the starformation gas to star function pair and add example syntax to the parameter_example file
parent abadf825
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -285,6 +285,14 @@ EAGLEChemistry:
CalciumOverSilicon: 0.0941736 # Constant ratio of Calcium over Silicon abundance
SulphurOverSilicon: 0.6054160 # Constant ratio of Sulphur over Silicon abundance
# Schaye and Dalla Vecchia 2008 star formation
SchayeSF:
Delta_crit: 60 # The critical density contrast to form stars
T_crit: 1e5 # The critical temperature to form stars
A: 2.5e-4 # (optional) The normalization of the Kennicutt-Schmidt law
nks: 1.4 # (optional) The power law of the Kennicutt-Schmidt law
gamma: 1.6667 # (optional) The heat capacity ratio (gamma)
# Structure finding options (requires velociraptor)
StructureFinding:
config_file_name: stf_input.cfg # Name of the STF config file.
......
......@@ -49,9 +49,28 @@ struct star_formation {
};
/*
* @brief Calculate if the gas has the potential of becoming
* a star.
*
*
* */
static int starformation_potential_to_become_star(
){
return 0;
}
/*
* @brief Calculate if the gas particle is converted
*
* */
static void starformation_convert_to_gas(
){
}
/*
* Brief initialization of the star formation law
* @brief initialization of the star formation law
*
* @param parameter_file The parsed parameter file
* @param phys_const Physical constants in internal units
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment