Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
0e1e7389
Commit
0e1e7389
authored
Sep 10, 2019
by
Matthieu Schaller
Browse files
Lock the cells for the extra_hydro tasks
parent
cbe7789f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/task.c
View file @
0e1e7389
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment