Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
57a0fa4e
Commit
57a0fa4e
authored
Feb 06, 2019
by
Folkert Nobels
Browse files
Merge branch 'schaye08' of
https://gitlab.cosma.dur.ac.uk/swift/swiftsim
into schaye08
parents
88b2d945
fed62e43
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/star_formation/EAGLE/star_formation.h
View file @
57a0fa4e
...
...
@@ -72,7 +72,7 @@ struct star_formation {
/*! 10^Tdex of Dalla Vecchia & SChaye temperature criteria */
double
ten_to_temperature_margin_threshold_dex
;
/*! gas fraction */
double
fgas
;
...
...
@@ -561,8 +561,8 @@ INLINE static void starformation_init_backend(
starform
->
temperature_margin_threshold_dex
=
parser_get_opt_param_double
(
parameter_file
,
"EAGLEStarFormation:KS_temperature_margin_dex"
,
FLT_MAX
);
starform
->
ten_to_temperature_margin_threshold_dex
=
exp10
(
starform
->
temperature_margin_threshold_dex
);
starform
->
ten_to_temperature_margin_threshold_dex
=
exp10
(
starform
->
temperature_margin_threshold_dex
);
/* Read the normalization of the metallicity dependent critical
* density*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment