From f7fffab00cc5f366ef0fb9c185fbfb9dcf3b2bc9 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 19 Dec 2018 17:08:44 +0100
Subject: [PATCH] Re-introduce the initialisation of gparts in the drift that
 disasppeared in the last merge.

---
 src/cell.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/cell.c b/src/cell.c
index d685a69d47..a7914a8a5a 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -3659,6 +3659,11 @@ void cell_drift_gpart(struct cell *c, const struct engine *e, int force) {
           continue;
         }
       }
+
+      /* Init gravity force fields. */
+      if (gpart_is_active(gp, e)) {
+        gravity_init_gpart(gp);
+      }
     }
 
     /* Loop over all the star particles in the cell */
-- 
GitLab