From bc8306e1343d961ffd25eae384f6c6eeb75ddd43 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Sun, 17 Feb 2019 17:51:42 +0100 Subject: [PATCH] Do not active the sub-hydro tasks whhen finding a sub-pair star-density. --- src/engine_maketasks.c | 4 ++-- src/engine_marktasks.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine_maketasks.c b/src/engine_maketasks.c index 4ef5335401..df9243e8fb 100644 --- a/src/engine_maketasks.c +++ b/src/engine_maketasks.c @@ -936,8 +936,8 @@ void engine_make_hierarchical_tasks_hydro(struct engine *e, struct cell *c) { engine_add_ghosts(e, c, c->hydro.ghost_in, c->hydro.ghost_out); if (with_feedback) { - c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost, - task_subtype_none, 0, 0, c, NULL); + c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost, + task_subtype_none, 0, 0, c, NULL); } #ifdef EXTRA_HYDRO_LOOP diff --git a/src/engine_marktasks.c b/src/engine_marktasks.c index 0592b2a072..f51955953a 100644 --- a/src/engine_marktasks.c +++ b/src/engine_marktasks.c @@ -376,7 +376,6 @@ void engine_marktasks_mapper(void *map_data, int num_elements, else if (t_type == task_type_sub_pair && t_subtype == task_subtype_stars_density) { cell_activate_subcell_stars_tasks(t->ci, t->cj, s); - cell_activate_subcell_hydro_tasks(t->ci, t->cj, s); } } -- GitLab