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
51a666ef
Commit
51a666ef
authored
Sep 13, 2017
by
Matthieu Schaller
Browse files
Code formatting
parent
34ee8e01
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/hydro/Shadowswift/hydro_iact.h
View file @
51a666ef
...
@@ -345,4 +345,3 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force(
...
@@ -345,4 +345,3 @@ __attribute__((always_inline)) INLINE static void runner_iact_nonsym_force(
runner_iact_fluxes_common
(
r2
,
dx
,
hi
,
hj
,
pi
,
pj
,
0
);
runner_iact_fluxes_common
(
r2
,
dx
,
hi
,
hj
,
pi
,
pj
,
0
);
}
}
tests/testGravityDerivatives.c
View file @
51a666ef
...
@@ -955,7 +955,8 @@ int main() {
...
@@ -955,7 +955,8 @@ int main() {
/* Compute all derivatives */
/* Compute all derivatives */
struct
potential_derivatives_M2L
pot
;
struct
potential_derivatives_M2L
pot
;
compute_potential_derivatives_M2L
(
dx
,
dy
,
dz
,
r2
,
r_inv
,
eps
,
eps_inv
,
&
pot
);
compute_potential_derivatives_M2L
(
dx
,
dy
,
dz
,
r2
,
r_inv
,
eps
,
eps_inv
,
&
pot
);
/* Minimal value we care about */
/* Minimal value we care about */
const
double
min
=
1e-9
;
const
double
min
=
1e-9
;
...
...
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