diff --git a/src/starformation/schaye08/starformation.h b/src/starformation/schaye08/starformation.h index 6e9b120b85fdd9e7240ccf4203f3ff3eabafd40a..6ed3f0fcf2d00b17e4afa6fbdfb8c8d5096aa475 100644 --- a/src/starformation/schaye08/starformation.h +++ b/src/starformation/schaye08/starformation.h @@ -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