Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
0e1e7389
Commit
0e1e7389
authored
5 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Lock the cells for the extra_hydro tasks
parent
cbe7789f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/task.c
+2
-0
2 additions, 0 deletions
src/task.c
with
2 additions
and
0 deletions
src/task.c
+
2
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment