From 4c7bbdd2fff1dd14bbd60608bbab95481b4567fe Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Wed, 30 Oct 2019 17:05:22 +0100
Subject: [PATCH] Removed the limiter_in/limiter_out tasks from the cell
 structure.

---
 src/cell.h        | 6 ------
 src/const.h       | 2 +-
 src/runner_main.c | 6 +++---
 3 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/src/cell.h b/src/cell.h
index 17cab03ca0..c9764d748c 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -362,12 +362,6 @@ struct cell {
     /*! Linked list of the tasks computing this cell's limiter. */
     struct link *limiter;
 
-    /*! Dependency implicit task for the time-step limiter  (in->limiter->out)*/
-    struct task *limiter_in;
-
-    /*! Dependency implicit task for the time-step limiter  (in->limiter->out)*/
-    struct task *limiter_out;
-
     /*! Dependency implicit task for the ghost  (in->ghost->out)*/
     struct task *ghost_in;
 
diff --git a/src/const.h b/src/const.h
index 9c1226f664..8e3c2a3944 100644
--- a/src/const.h
+++ b/src/const.h
@@ -23,7 +23,7 @@
 /* Time integration constants. */
 #define const_max_u_change 0.1f
 
-#define ICHECK 142844
+#define ICHECK 116567
 
 /* I/O Constant; this determines the relative tolerance between the value of
  * redshift read from the snapshot, and the value from the parameter file. This
diff --git a/src/runner_main.c b/src/runner_main.c
index 84146fcd89..effcdf3cda 100644
--- a/src/runner_main.c
+++ b/src/runner_main.c
@@ -216,7 +216,7 @@ void *runner_main(void *data) {
           else if (t->subtype == task_subtype_force)
             runner_dopair2_branch_force(r, ci, cj);
           else if (t->subtype == task_subtype_limiter)
-	    runner_dopair1_branch_limiter(r, ci, cj);
+            runner_dopair1_branch_limiter(r, ci, cj);
           else if (t->subtype == task_subtype_grav)
             runner_dopair_recursive_grav(r, ci, cj, 1);
           else if (t->subtype == task_subtype_stars_density)
@@ -248,7 +248,7 @@ void *runner_main(void *data) {
           else if (t->subtype == task_subtype_force)
             runner_dosub_self2_force(r, ci, 1);
           else if (t->subtype == task_subtype_limiter)
-	    runner_dosub_self1_limiter(r, ci, 1);
+            runner_dosub_self1_limiter(r, ci, 1);
           else if (t->subtype == task_subtype_stars_density)
             runner_dosub_self_stars_density(r, ci, 1);
           else if (t->subtype == task_subtype_stars_feedback)
@@ -278,7 +278,7 @@ void *runner_main(void *data) {
           else if (t->subtype == task_subtype_force)
             runner_dosub_pair2_force(r, ci, cj, 1);
           else if (t->subtype == task_subtype_limiter)
-	    runner_dosub_pair1_limiter(r, ci, cj, 1);
+            runner_dosub_pair1_limiter(r, ci, cj, 1);
           else if (t->subtype == task_subtype_stars_density)
             runner_dosub_pair_stars_density(r, ci, cj, 1);
           else if (t->subtype == task_subtype_stars_feedback)
-- 
GitLab