Skip to content
Snippets Groups Projects
Commit c413c53e authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Activate the drifts at the super-level alongside the sorts

parent fbb2faf4
No related branches found
No related tags found
1 merge request!1083Change the level at which the sort tasks are set
...@@ -2848,6 +2848,7 @@ void cell_activate_hydro_sorts_up(struct cell *c, struct scheduler *s) { ...@@ -2848,6 +2848,7 @@ void cell_activate_hydro_sorts_up(struct cell *c, struct scheduler *s) {
/* Also activate the super-level task */ /* Also activate the super-level task */
scheduler_activate(s, c->hydro.super->hydro.sorts); scheduler_activate(s, c->hydro.super->hydro.sorts);
if (c->nodeID == engine_rank) cell_activate_drift_part(c->hydro.super, s);
} }
/** /**
...@@ -2904,6 +2905,7 @@ void cell_activate_stars_sorts_up(struct cell *c, struct scheduler *s) { ...@@ -2904,6 +2905,7 @@ void cell_activate_stars_sorts_up(struct cell *c, struct scheduler *s) {
/* Also activate the super-level task */ /* Also activate the super-level task */
scheduler_activate(s, c->hydro.super->stars.sorts); scheduler_activate(s, c->hydro.super->stars.sorts);
if (c->nodeID == engine_rank) cell_activate_drift_spart(c->hydro.super, s);
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment