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
078d450f
Commit
078d450f
authored
Jan 26, 2017
by
Matthieu Schaller
Browse files
Force a sort of the particles at every time-step for active cells and at reception of data.
parent
7386d678
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
078d450f
...
...
@@ -1147,6 +1147,9 @@ void runner_do_timestep(struct runner *r, struct cell *c, int timer) {
c
->
ti_end_min
=
ti_end_min
;
c
->
ti_end_max
=
ti_end_max
;
/* Clear the sort field */
c
->
sorted
=
0
;
if
(
timer
)
TIMER_TOC
(
timer_timestep
);
}
...
...
@@ -1273,6 +1276,9 @@ void runner_do_recv_cell(struct runner *r, struct cell *c, int timer) {
c
->
ti_old
=
ti_current
;
c
->
h_max
=
h_max
;
/* Clear the sort field */
c
->
sorted
=
0
;
if
(
timer
)
TIMER_TOC
(
timer_dorecv_cell
);
#else
...
...
Matthieu Schaller
@matthieu
mentioned in commit
7a3a5474
·
Jan 26, 2017
mentioned in commit
7a3a5474
mentioned in commit 7a3a54740337391743e7d11f632c457b9ddc4eb5
Toggle commit list
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