From 01a56b9dd344722dbdf2f10facb689c1665d5be2 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Mon, 10 Dec 2018 15:35:20 +0000
Subject: [PATCH] Updated all the YAML files with the correct parameter names
 for the EAGLE cooling model.

---
 examples/EAGLE_12/eagle_12.yml | 9 ++++-----
 examples/EAGLE_25/eagle_25.yml | 8 ++++----
 examples/EAGLE_50/eagle_50.yml | 8 ++++----
 examples/EAGLE_6/eagle_6.yml   | 8 ++++----
 examples/parameter_example.yml | 7 +++++++
 5 files changed, 23 insertions(+), 17 deletions(-)

diff --git a/examples/EAGLE_12/eagle_12.yml b/examples/EAGLE_12/eagle_12.yml
index 90b546f311..1d19320491 100644
--- a/examples/EAGLE_12/eagle_12.yml
+++ b/examples/EAGLE_12/eagle_12.yml
@@ -72,9 +72,8 @@ EAGLEChemistry: 	    # Solar abundances
   SulphurOverSilicon:       0.6054160
 
 EagleCooling:
-  filename:                /cosma5/data/Eagle/BG_Tables/CoolingTables/
+  filename:                ./coolingtables/
   reionisation_redshift:   11.5
-  he_reion_z_center:       3.5
-  he_reion_z_sigma:        0.5
-  he_reion_ev_pH:          2.0
-
+  He_reion_z_centre:       3.5
+  He_reion_z_sigma:        0.5
+  He_reion_ev_pH:          2.0
diff --git a/examples/EAGLE_25/eagle_25.yml b/examples/EAGLE_25/eagle_25.yml
index bd74473d13..3e1e5907df 100644
--- a/examples/EAGLE_25/eagle_25.yml
+++ b/examples/EAGLE_25/eagle_25.yml
@@ -81,9 +81,9 @@ EAGLEChemistry: 	    # Solar abundances
   SulphurOverSilicon:       0.6054160
 
 EagleCooling:
-  filename:                /cosma5/data/Eagle/BG_Tables/CoolingTables/
+  filename:                ./coolingtables/
   reionisation_redshift:   11.5
-  he_reion_z_center:       3.5
-  he_reion_z_sigma:        0.5
-  he_reion_ev_pH:          2.0
+  He_reion_z_centre:       3.5
+  He_reion_z_sigma:        0.5
+  He_reion_ev_pH:          2.0
 
diff --git a/examples/EAGLE_50/eagle_50.yml b/examples/EAGLE_50/eagle_50.yml
index b86a3d87dd..87bef197cd 100644
--- a/examples/EAGLE_50/eagle_50.yml
+++ b/examples/EAGLE_50/eagle_50.yml
@@ -74,8 +74,8 @@ EAGLEChemistry: 	    # Solar abundances
   SulphurOverSilicon:       0.6054160
 
 EagleCooling:
-  filename:		   /cosma5/data/Eagle/BG_Tables/CoolingTables/
+  filename:                ./coolingtables/
   reionisation_redshift:   11.5
-  he_reion_z_center:       3.5
-  he_reion_z_sigma:        0.5
-  he_reion_ev_pH:          2.0
+  He_reion_z_centre:       3.5
+  He_reion_z_sigma:        0.5
+  He_reion_ev_pH:          2.0
\ No newline at end of file
diff --git a/examples/EAGLE_6/eagle_6.yml b/examples/EAGLE_6/eagle_6.yml
index 494f48b833..95a5d3398f 100644
--- a/examples/EAGLE_6/eagle_6.yml
+++ b/examples/EAGLE_6/eagle_6.yml
@@ -85,8 +85,8 @@ EAGLEChemistry: 	    # Solar abundances
   SulphurOverSilicon:       0.6054160
 
 EagleCooling:
-  filename:                /cosma5/data/Eagle/BG_Tables/CoolingTables/
+  filename:                ./coolingtables/
   reionisation_redshift:   11.5
-  he_reion_z_center:       3.5
-  he_reion_z_sigma:        0.5
-  he_reion_ev_pH:          2.0
+  He_reion_z_centre:       3.5
+  He_reion_z_sigma:        0.5
+  He_reion_ev_pH:          2.0
\ No newline at end of file
diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml
index 6adccf2963..d7b708d544 100644
--- a/examples/parameter_example.yml
+++ b/examples/parameter_example.yml
@@ -245,6 +245,13 @@ LambdaCooling:
   lambda_nH2_cgs:              1e-22 # Cooling rate divided by square Hydrogen number density (in cgs units [erg * s^-1 * cm^3])
   cooling_tstep_mult:          1.0   # (Optional) Dimensionless pre-factor for the time-step condition.
 
+EagleCooling:
+  filename:                ./coolingtables/  # Location of the Wiersma+08 cooling tables
+  reionisation_redshift:   11.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
+  
 # Cooling with Grackle 3.0
 GrackleCooling:
   CloudyTable: CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository)
-- 
GitLab