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

Drift before send_xv even in the GIZMO case.

parent c8779c7f
No related branches found
No related tags found
No related merge requests found
...@@ -718,9 +718,11 @@ void engine_addtasks_send(struct engine *e, struct cell *ci, struct cell *cj, ...@@ -718,9 +718,11 @@ void engine_addtasks_send(struct engine *e, struct cell *ci, struct cell *cj,
/* The send_xv task should unlock the super-cell's ghost task. */ /* The send_xv task should unlock the super-cell's ghost task. */
scheduler_addunlock(s, t_xv, ci->super->ghost); scheduler_addunlock(s, t_xv, ci->super->ghost);
scheduler_addunlock(s, ci->super->drift, t_xv);
#endif #endif
/* Drift before you send */
scheduler_addunlock(s, ci->super->drift, t_xv);
/* The super-cell's kick task should unlock the send_ti task. */ /* The super-cell's kick task should unlock the send_ti task. */
if (t_ti != NULL) scheduler_addunlock(s, ci->super->kick, t_ti); if (t_ti != NULL) scheduler_addunlock(s, ci->super->kick, t_ti);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment