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
7e578468
Commit
7e578468
authored
Sep 27, 2017
by
James Willis
Browse files
Merge branch 'correct_position_checks_after_drift' into correct_vec_neighbour_find
parents
bb5ea549
9b5ddbec
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
7e578468
...
...
@@ -325,7 +325,7 @@ __attribute__((always_inline)) INLINE static void populate_max_index_no_cache(
last_pj
=
active_id
;
/* Find the maximum index into cell i for each particle in range in cell j. */
if
(
last_pj
>
0
)
{
if
(
last_pj
>
=
0
)
{
/* Start from the last particle in cell i. */
temp
=
ci
->
count
-
1
;
...
...
tests/testActivePair.sh.in
View file @
7e578468
...
...
@@ -4,8 +4,18 @@ echo ""
rm
-f
brute_force_pair_active.dat swift_dopair_active.dat
echo
"Running ./testActivePair -n 6 -r 1 -d 0 -f active"
./testActivePair
-n
6
-r
1
-d
0
-f
active
python @srcdir@/difffloat.py brute_force_active.dat swift_dopair_active.dat @srcdir@/tolerance_pair_active.dat
rm
-f
brute_force_pair_active.dat swift_dopair_active.dat
echo
"Running ./testActivePair -n 6 -r 1 -d 0 -f active -s 1506434777"
./testActivePair
-n
6
-r
1
-d
0
-f
active
-s
1506434777
python @srcdir@/difffloat.py brute_force_active.dat swift_dopair_active.dat @srcdir@/tolerance_pair_active.dat
exit
$?
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