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
9af1c5e2
Commit
9af1c5e2
authored
Jan 03, 2019
by
Matthieu Schaller
Browse files
reionisation_redshift --> H_reion_z in the EAGLE cooling YAML file.
parent
7fc78ad2
Changes
10
Hide whitespace changes
Inline
Side-by-side
examples/CoolingBox/coolingBox.yml
View file @
9af1c5e2
...
...
@@ -54,7 +54,7 @@ GrackleCooling:
EAGLECooling
:
dirname
:
/cosma5/data/Eagle/BG_Tables/CoolingTables/
reion
isation_redshift
:
8.989
H_
reion
_z
:
11.5
he_reion_z_center
:
3.5
he_reion_z_sigma
:
0.5
he_reion_ev_pH
:
2.0
...
...
examples/CoolingRates/cooling_rates.yml
View file @
9af1c5e2
...
...
@@ -29,7 +29,7 @@ EAGLEChemistry:
EAGLECooling
:
dirname
:
./coolingtables/
reionisation_redshift
:
9
.5
H_reion_z
:
11
.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
...
...
examples/EAGLE_12/eagle_12.yml
View file @
9af1c5e2
...
...
@@ -71,7 +71,7 @@ EAGLEChemistry: # Solar abundances
EAGLECooling
:
dirname
:
./coolingtables/
reion
isation_redshift
:
11.5
H_
reion
_z
:
11.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
examples/EAGLE_25/eagle_25.yml
View file @
9af1c5e2
...
...
@@ -80,7 +80,7 @@ EAGLEChemistry: # Solar abundances
EAGLECooling
:
dirname
:
./coolingtables/
reion
isation_redshift
:
11.5
H_
reion
_z
:
11.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
...
...
examples/EAGLE_50/eagle_50.yml
View file @
9af1c5e2
...
...
@@ -73,7 +73,7 @@ EAGLEChemistry: # Solar abundances
EAGLECooling
:
dirname
:
./coolingtables/
reion
isation_redshift
:
11.5
H_
reion
_z
:
11.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
\ No newline at end of file
examples/EAGLE_6/eagle_6.yml
View file @
9af1c5e2
...
...
@@ -84,7 +84,7 @@ EAGLEChemistry: # Solar abundances
EAGLECooling
:
dirname
:
./coolingtables/
reion
isation_redshift
:
11.5
H_
reion
_z
:
11.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
\ No newline at end of file
examples/SantaBarbara/santa_barbara.yml
View file @
9af1c5e2
...
...
@@ -73,7 +73,7 @@ EAGLEChemistry:
EAGLECooling
:
dirname
:
/cosma5/data/Eagle/BG_Tables/CoolingTables/
reion
isation_redshift
:
8.898
H_
reion
_z
:
11.5
he_reion_z_center
:
3.5
he_reion_z_sigma
:
0.5
he_reion_ev_pH
:
2.0
...
...
examples/SmallCosmoVolume_cooling/small_cosmo_volume.yml
View file @
9af1c5e2
...
...
@@ -65,7 +65,7 @@ LambdaCooling:
# EAGLE cooling function
EAGLECooling
:
dirname
:
./coolingtables/
reionisation_redshift
:
8
.5
H_reion_z
:
11
.5
He_reion_z_centre
:
3.5
He_reion_z_sigma
:
0.5
He_reion_ev_pH
:
2.0
...
...
examples/parameter_example.yml
View file @
9af1c5e2
...
...
@@ -251,7 +251,7 @@ LambdaCooling:
# Parameters of the EAGLE cooling model (Wiersma+08 cooling tables).
EAGLECooling
:
dirname
:
./coolingtables/
# Location of the Wiersma+08 cooling tables
reion
isation_redshift
:
8.5
# Redshift of Hydrogen re-ionization
H_
reion
_z
:
8.5
# Redshift of Hydrogen re-ionization
He_reion_z_centre
:
3.5
# Redshift of the centre of the Helium re-ionization Gaussian
He_reion_z_sigma
:
0.5
# Spread in redshift of the Helium re-ionization Gaussian
He_reion_ev_pH
:
2.0
# Energy inject by Helium re-ionization in electron-volt per Hydrogen atom
...
...
src/cooling/EAGLE/cooling.c
View file @
9af1c5e2
...
...
@@ -741,7 +741,7 @@ void cooling_init_backend(struct swift_params *parameter_file,
parser_get_param_string
(
parameter_file
,
"EAGLECooling:dirname"
,
cooling
->
cooling_table_path
);
cooling
->
H_reion_z
=
parser_get_param_float
(
parameter_file
,
"EAGLECooling:
reionisation_redshift
"
);
parameter_file
,
"EAGLECooling:
H_reion_z
"
);
cooling
->
Ca_over_Si_ratio_in_solar
=
parser_get_opt_param_float
(
parameter_file
,
"EAGLECooling::CalciumOverSiliconInSolar"
,
1
.
f
);
cooling
->
S_over_Si_ratio_in_solar
=
parser_get_opt_param_float
(
...
...
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