From 6880423a333600baca18d4ae48487e9450414adc Mon Sep 17 00:00:00 2001
From: lhausamm <loic_hausammann@hotmail.com>
Date: Fri, 2 Mar 2018 18:50:50 +0100
Subject: [PATCH] Update parameter files for Grackle

---
 examples/CoolingBox/coolingBox.yml | 14 +++++++++-----
 examples/parameter_example.yml     |  1 +
 2 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/examples/CoolingBox/coolingBox.yml b/examples/CoolingBox/coolingBox.yml
index c2ada783a3..f280d07b4e 100644
--- a/examples/CoolingBox/coolingBox.yml
+++ b/examples/CoolingBox/coolingBox.yml
@@ -42,11 +42,15 @@ LambdaCooling:
 
 # Cooling with Grackle 2.0
 GrackleCooling:
-  GrackleCloudyTable: ../CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository)
-  UVbackground: 0 # Enable or not the UV background
-  GrackleRedshift: 0 # Redshift to use (-1 means time based redshift)
-  GrackleHSShieldingDensityThreshold: 1.1708e-26 # self shielding threshold in internal system of units
-
+  CloudyTable: CloudyData_UVB=HM2012.h5 # Name of the Cloudy Table (available on the grackle bitbucket repository)
+  WithUVbackground: 0 # Enable or not the UV background
+  Redshift: 0 # Redshift to use (-1 means time based redshift)
+  WithMetalCooling: 1 # Enable or not the metal cooling
+  ProvideVolumetricHeatingRates: 0 # User provide volumetric heating rates
+  ProvideSpecificHeatingRates: 0 # User provide specific heating rates
+  SelfShieldingMethod: 0 # Grackle (<= 3) or Gear self shielding method
+  OutputMode: 1 # Write in output corresponding primordial chemistry mode
+  
 EAGLEChemistry:
   InitMetallicity:         0.
   InitAbundance_Hydrogen:  0.752
diff --git a/examples/parameter_example.yml b/examples/parameter_example.yml
index eeafc4aab0..7c81684432 100644
--- a/examples/parameter_example.yml
+++ b/examples/parameter_example.yml
@@ -188,6 +188,7 @@ GrackleCooling:
   ProvideVolumetricHeatingRates: 0 # User provide volumetric heating rates
   ProvideSpecificHeatingRates: 0 # User provide specific heating rates
   SelfShieldingMethod: 0 # Grackle (<= 3) or Gear self shielding method
+  OutputMode: 0 # Write in output corresponding primordial chemistry mode
 
 # Parameters related to chemistry models  -----------------------------------------------
 
-- 
GitLab