From 223d8044240c11b9b5f7ed18139ea507c27f9f2f Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Mon, 18 Jun 2018 18:18:02 +0200 Subject: [PATCH] Do not activate the top-level FFT task any more. --- src/const.h | 2 ++ src/engine.c | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/const.h b/src/const.h index 6c5b5299c0..94c52ec746 100644 --- a/src/const.h +++ b/src/const.h @@ -113,4 +113,6 @@ #define SOURCETERMS_NONE //#define SOURCETERMS_SN_FEEDBACK +#define ICHECK 1000 + #endif /* SWIFT_CONST_H */ diff --git a/src/engine.c b/src/engine.c index 8302fa7c57..2715428cb4 100644 --- a/src/engine.c +++ b/src/engine.c @@ -4758,14 +4758,6 @@ void engine_unskip(struct engine *e) { ProfilerStop(); #endif // WITH_PROFILER - /* And the top level gravity FFT one when periodicity is on.*/ - if (e->s->periodic && (e->policy & engine_policy_self_gravity)) { - - /* Only if there are other tasks (i.e. something happens on this node) */ - if (e->sched.active_count > 0) - scheduler_activate(&e->sched, e->s->grav_top_level); - } - if (e->verbose) message("took %.3f %s.", clocks_from_ticks(getticks() - tic), clocks_getunit()); -- GitLab