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

Fix merge

parents d0ad4a5b 37aa9599
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -234,6 +234,7 @@ INLINE static void star_formation_copy_properties(
//sp->birth_density = p->density;
message("Copy Properties");
}
......@@ -329,17 +330,6 @@ INLINE static void starformation_init_backend(
starform->fgas / G_newton * 1337.f, (starform->KS_power_law
- starform->KS_high_den_power_law)/2.f);
/* Read the critical temperature from the parameter file */
starform->T_crit = parser_get_param_double(parameter_file,
"SchayeSF:T_crit");
/* Read the gas fraction from the file */
starform->fgas = parser_get_param_double(parameter_file,
"SchayeSF:fg");
/* Calculate inverse of RAND_MAX */
starform->inv_RAND_MAX = 1.f / RAND_MAX;
/* Calculate the SF high density normalization */
starform->SF_high_den_normalization = starform->KS_high_den_normalization
* pow(M_per_pc2, -starform->KS_high_den_power_law) * pow( hydro_gamma
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment