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
5da42d3e
Commit
5da42d3e
authored
Sep 22, 2017
by
James Willis
Browse files
dopair2_force_vec now works.
parent
497e2fd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
5da42d3e
...
...
@@ -1468,9 +1468,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
hj_max
,
di_max
,
dj_min
,
max_index_i
,
max_index_j
,
&
first_pi
,
&
last_pj
,
e
);
first_pi
=
0
;
last_pj
=
count_j
-
1
;
/* Limits of the outer loops. */
int
first_pi_loop
=
first_pi
;
int
last_pj_loop
=
last_pj
;
...
...
@@ -1480,9 +1477,6 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
last_pj
=
max
(
last_pj
,
max_index_i
[
count_i
-
1
]);
first_pi
=
min
(
first_pi
,
max_index_j
[
0
]);
first_pi
=
0
;
last_pj
=
count_j
-
1
;
/* Read the needed particles into the two caches. */
int
first_pi_align
=
first_pi
;
int
last_pj_align
=
last_pj
;
...
...
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