From d89749d9e4597f9ff1d132f114269b3fe6a6090a Mon Sep 17 00:00:00 2001
From: loikki <loic.hausammann@protonmail.ch>
Date: Thu, 9 Apr 2020 09:50:01 +0200
Subject: [PATCH] GEAR: add missing run time argument

---
 examples/GEAR/ZoomIn/run.sh      | 2 +-
 examples/GEAR/ZoomIn/zoom_in.yml | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/GEAR/ZoomIn/run.sh b/examples/GEAR/ZoomIn/run.sh
index 58961e0253..471416dff5 100755
--- a/examples/GEAR/ZoomIn/run.sh
+++ b/examples/GEAR/ZoomIn/run.sh
@@ -7,5 +7,5 @@ then
     ./getIC.sh
 fi
 
-../../swift --feedback --cosmology  --limiter --sync --self-gravity --hydro --stars --star-formation --threads=8 zoom_in.yml 2>&1 | tee output.log
+../../swift --cooling --feedback --cosmology  --limiter --sync --self-gravity --hydro --stars --star-formation --threads=8 zoom_in.yml 2>&1 | tee output.log
 
diff --git a/examples/GEAR/ZoomIn/zoom_in.yml b/examples/GEAR/ZoomIn/zoom_in.yml
index 422ed98aad..20b46f4dfb 100644
--- a/examples/GEAR/ZoomIn/zoom_in.yml
+++ b/examples/GEAR/ZoomIn/zoom_in.yml
@@ -87,6 +87,8 @@ GEARFeedback:
 GEARStarFormation:
   star_formation_efficiency: 0.01   # star formation efficiency (c_*)
   maximal_temperature:  3e4         # Upper limit to the temperature of a star forming particle
+  n_stars_per_particle: 4
+  min_mass_frac: 0.5
 
 GEARPressureFloor:
   jeans_factor: 10.       # Number of particles required to suppose a resolved clump and avoid the pressure floor.
-- 
GitLab