From da7e062fad3e843b39019c2bc1007bd580e5324f Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 27 Sep 2023 11:56:42 +0200
Subject: [PATCH] Make the EAGLE_ICs example load the PS2020 cooling tables and
 not the Wiersma+09 ones

---
 examples/EAGLE_ICs/EAGLE_100/run.sh        | 6 +++---
 examples/EAGLE_ICs/EAGLE_12/run.sh         | 6 +++---
 examples/EAGLE_ICs/EAGLE_25/run.sh         | 6 +++---
 examples/EAGLE_ICs/EAGLE_25_low_res/run.sh | 6 +++---
 examples/EAGLE_ICs/EAGLE_50/run.sh         | 6 +++---
 examples/EAGLE_ICs/EAGLE_50_low_res/run.sh | 6 +++---
 examples/EAGLE_ICs/EAGLE_6/run.sh          | 6 +++---
 7 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/examples/EAGLE_ICs/EAGLE_100/run.sh b/examples/EAGLE_ICs/EAGLE_100/run.sh
index 7b2d0e95bc..f397d6ca7e 100755
--- a/examples/EAGLE_ICs/EAGLE_100/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_100/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldtable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_12/run.sh b/examples/EAGLE_ICs/EAGLE_12/run.sh
index 0140f598a2..f53b975f13 100755
--- a/examples/EAGLE_ICs/EAGLE_12/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_12/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_25/run.sh b/examples/EAGLE_ICs/EAGLE_25/run.sh
index 04635c149f..8d18b4519e 100755
--- a/examples/EAGLE_ICs/EAGLE_25/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_25/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_25_low_res/run.sh b/examples/EAGLE_ICs/EAGLE_25_low_res/run.sh
index 200fab538c..36a95333b9 100755
--- a/examples/EAGLE_ICs/EAGLE_25_low_res/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_25_low_res/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_50/run.sh b/examples/EAGLE_ICs/EAGLE_50/run.sh
index 026019b44d..a48a559444 100755
--- a/examples/EAGLE_ICs/EAGLE_50/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_50/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_50_low_res/run.sh b/examples/EAGLE_ICs/EAGLE_50_low_res/run.sh
index 83f388aeb0..235c4fdb1e 100755
--- a/examples/EAGLE_ICs/EAGLE_50_low_res/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_50_low_res/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
diff --git a/examples/EAGLE_ICs/EAGLE_6/run.sh b/examples/EAGLE_ICs/EAGLE_6/run.sh
index aa1064d380..564eb67b80 100755
--- a/examples/EAGLE_ICs/EAGLE_6/run.sh
+++ b/examples/EAGLE_ICs/EAGLE_6/run.sh
@@ -14,10 +14,10 @@ then
     ../getEagleYieldTable.sh
 fi
 
-if [ ! -e coolingtables ]
+if [ ! -e UV_dust1_CR1_G1_shield1.hdf5 ]
 then
-    echo "Fetching EAGLE cooling tables..."
-    ../getEagleCoolingTable.sh
+    echo "Fetching EAGLE-XL cooling tables..."
+    ../getPS2020CoolingTables.sh
 fi
 
 if [ ! -e photometry ]
-- 
GitLab