Skip to content
Snippets Groups Projects

GEARRT: conservative flux exchanges

Merged Mladen Ivkovic requested to merge GEARRT_Conservative into master
1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
+ 8
4
@@ -2777,10 +2777,12 @@ void engine_make_extra_hydroloop_tasks_mapper(void *map_data, int num_elements,
* the interaction in the transport loop. Local cells don't have an
* rt_sorts task. */
if (ci->hydro.super->hydro.sorts != NULL)
scheduler_addunlock(sched, ci->hydro.sorts, t_rt_transport);
scheduler_addunlock(sched, ci->hydro.super->hydro.sorts,
t_rt_transport);
if ((ci->hydro.super != cj->hydro.super) &&
(cj->hydro.super->hydro.sorts != NULL))
scheduler_addunlock(sched, cj->hydro.sorts, t_rt_transport);
scheduler_addunlock(sched, cj->hydro.super->hydro.sorts,
t_rt_transport);
#endif
}
@@ -3603,10 +3605,12 @@ void engine_make_extra_hydroloop_tasks_mapper(void *map_data, int num_elements,
* the interaction in the transport loop. Local cells don't have
* an rt_sort task. */
if (ci->hydro.super->hydro.sorts != NULL)
scheduler_addunlock(sched, ci->hydro.sorts, t_rt_transport);
scheduler_addunlock(sched, ci->hydro.super->hydro.sorts,
t_rt_transport);
if ((ci->hydro.super != cj->hydro.super) &&
(cj->hydro.super->hydro.sorts != NULL))
scheduler_addunlock(sched, cj->hydro.sorts, t_rt_transport);
scheduler_addunlock(sched, cj->hydro.super->hydro.sorts,
t_rt_transport);
#endif
}
Loading