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
aa9064bb
Commit
aa9064bb
authored
May 17, 2017
by
James Willis
Browse files
Call correct functions.
parent
9ca58429
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_iact.h
View file @
aa9064bb
...
...
@@ -1262,7 +1262,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_1_vec_force
xj
.
v
=
r
.
v
*
hj_inv
.
v
;
/* Calculate the kernel for two particles. */
kernel_
d
eval_
1
_vec
(
&
xj
,
&
wj_dx
);
kernel_eval_
dWdx_force
_vec
(
&
xj
,
&
wj_dx
);
wj_dr
.
v
=
hjd_inv
.
v
*
wj_dx
.
v
;
...
...
@@ -1377,7 +1377,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_1_vec_force
xj
.
v
=
r
.
v
*
hj_inv
.
v
;
/* Calculate the kernel for two particles. */
kernel_
d
eval_
1
_vec
(
&
xj
,
&
wj_dx
);
kernel_eval_
dWdx_force
_vec
(
&
xj
,
&
wj_dx
);
wj_dr
.
v
=
hjd_inv
.
v
*
wj_dx
.
v
;
...
...
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