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
7c088344
Commit
7c088344
authored
Jul 21, 2016
by
James Willis
Browse files
Modified ifdef macro as GADGET_SPH now has a vectorised density version.
parent
537db832
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
7c088344
...
...
@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) {
const
ticks
tic
=
getticks
();
#if defined(DEFAULT_SPH) ||
!
defined(
WITH_VECTORIZATION
)
#if defined(DEFAULT_SPH) || defined(
GADGET2_SPH
)
/* Run all the pairs */
for
(
int
j
=
0
;
j
<
27
;
++
j
)
...
...
@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) {
const
ticks
tic
=
getticks
();
#if defined(DEFAULT_SPH) ||
!
defined(
WITH_VECTORIZATION
)
#if defined(DEFAULT_SPH) || defined(
GADGET2_SPH
)
/* Run all the brute-force pairs */
for
(
int
j
=
0
;
j
<
27
;
++
j
)
...
...
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