Commit 0e1e7389 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Lock the cells for the extra_hydro tasks

parent cbe7789f
......@@ -427,6 +427,7 @@ void task_unlock(struct task *t) {
case task_type_drift_part:
case task_type_sort:
case task_type_ghost:
case task_type_extra_ghost:
case task_type_end_hydro_force:
case task_type_timestep_limiter:
cell_unlocktree(ci);
......@@ -572,6 +573,7 @@ int task_lock(struct task *t) {
case task_type_drift_part:
case task_type_sort:
case task_type_ghost:
case task_type_extra_ghost:
case task_type_end_hydro_force:
case task_type_timestep_limiter:
if (ci->hydro.hold) return 0;
......
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