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
56e0b3ed
Commit
56e0b3ed
authored
Jul 14, 2016
by
James Willis
Browse files
Replaced all occurrences of 'VECTORIZE' with 'WITH_VECTORIZATION'.
parent
c4e80510
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Default/hydro_iact.h
View file @
56e0b3ed
...
...
@@ -101,7 +101,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_density(
float
*
R2
,
float
*
Dx
,
float
*
Hi
,
float
*
Hj
,
struct
part
**
pi
,
struct
part
**
pj
)
{
#ifdef VECTORIZ
E
#ifdef
WITH_
VECTORIZ
ATION
vector
r
,
ri
,
r2
,
xi
,
xj
,
hi
,
hj
,
hi_inv
,
hj_inv
,
wi
,
wj
,
wi_dx
,
wj_dx
;
vector
rhoi
,
rhoj
,
rhoi_dh
,
rhoj_dh
,
wcounti
,
wcountj
,
wcounti_dh
,
wcountj_dh
;
...
...
@@ -263,7 +263,7 @@ __attribute__((always_inline)) INLINE static void
runner_iact_nonsym_vec_density
(
float
*
R2
,
float
*
Dx
,
float
*
Hi
,
float
*
Hj
,
struct
part
**
pi
,
struct
part
**
pj
)
{
#ifdef VECTORIZ
E
#ifdef
WITH_
VECTORIZ
ATION
vector
r
,
ri
,
r2
,
xi
,
hi
,
hi_inv
,
wi
,
wi_dx
;
vector
rhoi
,
rhoi_dh
,
wcounti
,
wcounti_dh
,
div_vi
;
...
...
@@ -450,7 +450,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_vec_force(
float
*
R2
,
float
*
Dx
,
float
*
Hi
,
float
*
Hj
,
struct
part
**
pi
,
struct
part
**
pj
)
{
#ifdef VECTORIZ
E
#ifdef
WITH_
VECTORIZ
ATION
vector
r
,
r2
,
ri
;
vector
xi
,
xj
;
...
...
@@ -758,7 +758,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_vec_force(
float
*
R2
,
float
*
Dx
,
float
*
Hi
,
float
*
Hj
,
struct
part
**
pi
,
struct
part
**
pj
)
{
#ifdef VECTORIZ
E
#ifdef
WITH_
VECTORIZ
ATION
vector
r
,
r2
,
ri
;
vector
xi
,
xj
;
...
...
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