Skip to content
GitLab
Menu
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
7d16b4ae
Commit
7d16b4ae
authored
Jul 27, 2017
by
Pedro Gonnet
Browse files
only drift the cells that are being sent.
parent
a0106530
Changes
1
Show whitespace changes
Inline
Side-by-side
src/cell.c
View file @
7d16b4ae
...
...
@@ -1745,9 +1745,9 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
l
==
NULL
)
error
(
"Missing link to send_xv task."
);
scheduler_activate
(
s
,
l
->
t
);
/* Drift the cell which will be sent
at the level at which it is
sent
,
i.e. drift the cell spec
if
i
ed
in the send task (l->t) itself
. */
cell_activate_drift_part
(
l
->
t
->
ci
,
s
);
/* Drift the cell which will be sent
; note that not all
sent
particles will be dr
if
t
ed
, only those that are needed
. */
cell_activate_drift_part
(
cj
,
s
);
if
(
cell_is_active
(
cj
,
e
))
{
struct
link
*
l
=
NULL
;
...
...
@@ -1802,9 +1802,9 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
l
==
NULL
)
error
(
"Missing link to send_xv task."
);
scheduler_activate
(
s
,
l
->
t
);
/* Drift the cell which will be sent
at the level at which it is
sent
,
i.e. drift the cell spec
if
i
ed
in the send task (l->t) itself
. */
cell_activate_drift_part
(
l
->
t
->
ci
,
s
);
/* Drift the cell which will be sent
; note that not all
sent
particles will be dr
if
t
ed
, only those that are needed
. */
cell_activate_drift_part
(
ci
,
s
);
if
(
cell_is_active
(
ci
,
e
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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