From a4e36fc09eb7ca1c4657fb272e26fccb1f8bbe52 Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Thu, 11 Oct 2018 15:15:47 +0100
Subject: [PATCH] Run 2nd engine_launch() by default. Somehow speeds the FOF
 up.

---
 examples/main_fof.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/main_fof.c b/examples/main_fof.c
index fce6ad74be..72c096f5bb 100644
--- a/examples/main_fof.c
+++ b/examples/main_fof.c
@@ -993,7 +993,7 @@ int main(int argc, char *argv[]) {
 #endif
 
     /* Initialise the particles */
-    engine_init_particles(&e, flag_entropy_ICs, clean_smoothing_length_values, 0);
+    engine_init_particles(&e, flag_entropy_ICs, clean_smoothing_length_values, 1);
 
     /* Perform first FOF search after the first snapshot dump. */
     fof_search_tree(&s);
-- 
GitLab