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
ca879eaa
Commit
ca879eaa
authored
Jun 27, 2017
by
Pedro Gonnet
Browse files
don't try to drift non-local cells.
parent
c307406c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
ca879eaa
...
...
@@ -1681,8 +1681,8 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
cj
->
dx_max_sort_old
=
cj
->
dx_max_sort
;
/* Activate the drift tasks. */
cell_activate_drift_part
(
ci
,
s
);
cell_activate_drift_part
(
cj
,
s
);
if
(
ci
->
nodeID
==
engine_rank
)
cell_activate_drift_part
(
ci
,
s
);
if
(
cj
->
nodeID
==
engine_rank
)
cell_activate_drift_part
(
cj
,
s
);
/* Check the sorts and activate them if needed. */
cell_activate_sorts
(
ci
,
t
->
flags
,
s
);
...
...
src/engine.c
View file @
ca879eaa
...
...
@@ -2578,8 +2578,8 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
cj
->
dx_max_sort_old
=
cj
->
dx_max_sort
;
/* Activate the drift tasks. */
cell_activate_drift_part
(
ci
,
s
);
cell_activate_drift_part
(
cj
,
s
);
if
(
ci
->
nodeID
==
engine_rank
)
cell_activate_drift_part
(
ci
,
s
);
if
(
cj
->
nodeID
==
engine_rank
)
cell_activate_drift_part
(
cj
,
s
);
/* Activate the sorts where needed. */
cell_activate_sorts
(
ci
,
t
->
flags
,
s
);
...
...
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