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

start of the Schaye+08 starformation model

parent 3fcc73bc
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
...@@ -277,9 +277,6 @@ static void starformation_init_backend( ...@@ -277,9 +277,6 @@ static void starformation_init_backend(
/* !!!DONT FORGET TO DO THE CORRECT UNIT CONVERSION!!!*/ /* !!!DONT FORGET TO DO THE CORRECT UNIT CONVERSION!!!*/
starform->den_crit_star = starform->den_crit / pow(starform->Z0, starform->den_crit_star = starform->den_crit / pow(starform->Z0,
starform->n_Z0) * conversion_numb_density; starform->n_Z0) * conversion_numb_density;
} }
/* @brief Prints the used parameters of the star formation law /* @brief Prints the used parameters of the star formation law
...@@ -287,8 +284,8 @@ static void starformation_init_backend( ...@@ -287,8 +284,8 @@ static void starformation_init_backend(
* @param starform the star formation law properties. * @param starform the star formation law properties.
* */ * */
static void starformation_print_backend( static void starformation_print_backend(
const struct star_formation* starform){ const struct star_formation* starform
){
message("Star formation law is Schaye and Dalla Vecchia (2008)" message("Star formation law is Schaye and Dalla Vecchia (2008)"
" with properties, normalization = %e, slope of the Kennicutt" " with properties, normalization = %e, slope of the Kennicutt"
"-Schmidt law = %e, gamma = %e, gas fraction = %e, critical " "-Schmidt law = %e, gamma = %e, gas fraction = %e, critical "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment