Skip to content
GitLab
Menu
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
fed62e43
Commit
fed62e43
authored
Feb 04, 2019
by
Matthieu Schaller
Browse files
Applied code formatting script.
parent
511c4ec3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/star_formation/EAGLE/star_formation.h
View file @
fed62e43
...
@@ -72,7 +72,7 @@ struct star_formation {
...
@@ -72,7 +72,7 @@ struct star_formation {
/*! 10^Tdex of Dalla Vecchia & SChaye temperature criteria */
/*! 10^Tdex of Dalla Vecchia & SChaye temperature criteria */
double
ten_to_temperature_margin_threshold_dex
;
double
ten_to_temperature_margin_threshold_dex
;
/*! gas fraction */
/*! gas fraction */
double
fgas
;
double
fgas
;
...
@@ -561,8 +561,8 @@ INLINE static void starformation_init_backend(
...
@@ -561,8 +561,8 @@ INLINE static void starformation_init_backend(
starform
->
temperature_margin_threshold_dex
=
parser_get_opt_param_double
(
starform
->
temperature_margin_threshold_dex
=
parser_get_opt_param_double
(
parameter_file
,
"EAGLEStarFormation:KS_temperature_margin_dex"
,
FLT_MAX
);
parameter_file
,
"EAGLEStarFormation:KS_temperature_margin_dex"
,
FLT_MAX
);
starform
->
ten_to_temperature_margin_threshold_dex
=
exp10
(
starform
->
ten_to_temperature_margin_threshold_dex
=
starform
->
temperature_margin_threshold_dex
);
exp10
(
starform
->
temperature_margin_threshold_dex
);
/* Read the normalization of the metallicity dependent critical
/* Read the normalization of the metallicity dependent critical
* density*/
* density*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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