diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml index 6258782ab802ae85d783543bdeedf34f538333cf..845cfb74fe6d9f412eddb28c6f398702ac8881cd 100644 --- a/examples/parameter_example.yml +++ b/examples/parameter_example.yml @@ -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. diff --git a/src/starformation/schaye08/starformation.h b/src/starformation/schaye08/starformation.h index 13f2b71cfac4a5e675b353f555a529978430db45..e57fdae4991661e7da00666baea3e1bdf7402b39 100644 --- a/src/starformation/schaye08/starformation.h +++ b/src/starformation/schaye08/starformation.h @@ -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