Commit 223d8044 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not activate the top-level FFT task any more.

parent 48c6cbb3
......@@ -113,4 +113,6 @@
#define SOURCETERMS_NONE
//#define SOURCETERMS_SN_FEEDBACK
#define ICHECK 1000
#endif /* SWIFT_CONST_H */
......@@ -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());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment