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
4975c9c5
Commit
4975c9c5
authored
Apr 25, 2017
by
Pedro Gonnet
Browse files
don't mess with sort flags in the drift.
parent
d29eb446
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
4975c9c5
...
...
@@ -1456,12 +1456,6 @@ void cell_drift_particles(struct cell *c, const struct engine *e) {
dx_max
=
max
(
dx_max
,
cp
->
dx_max
);
dx_max_sort
=
max
(
dx_max_sort
,
cp
->
dx_max_sort
);
cell_h_max
=
max
(
cell_h_max
,
cp
->
h_max
);
/* Deal with the sort flag */
if
(
cp
->
ti_sort
>
c
->
ti_sort
)
c
->
sorted
=
0
;
else
c
->
sorted
&=
cp
->
sorted
;
}
}
else
if
(
ti_current
>
ti_old
)
{
...
...
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