Skip to content
GitLab
Menu
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
26b13ce7
Commit
26b13ce7
authored
Nov 01, 2017
by
Matthieu Schaller
Browse files
Code formatting
parent
73a09c7a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
26b13ce7
...
...
@@ -1147,10 +1147,10 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
#ifdef SWIFT_DEBUG_CHECKS
/* Check that particles have been drifted to the current time */
for
(
int
pid
=
0
;
pid
<
count_i
;
pid
++
)
for
(
int
pid
=
0
;
pid
<
count_i
;
pid
++
)
if
(
parts_i
[
pid
].
ti_drift
!=
e
->
ti_current
)
error
(
"Particle pi not drifted to current time"
);
for
(
int
pjd
=
0
;
pjd
<
count_j
;
pjd
++
)
for
(
int
pjd
=
0
;
pjd
<
count_j
;
pjd
++
)
if
(
parts_j
[
pjd
].
ti_drift
!=
e
->
ti_current
)
error
(
"Particle pj not drifted to current time"
);
#endif
...
...
@@ -1498,10 +1498,10 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
#ifdef SWIFT_DEBUG_CHECKS
/* Check that particles have been drifted to the current time */
for
(
int
pid
=
0
;
pid
<
count_i
;
pid
++
)
for
(
int
pid
=
0
;
pid
<
count_i
;
pid
++
)
if
(
parts_i
[
pid
].
ti_drift
!=
e
->
ti_current
)
error
(
"Particle pi not drifted to current time"
);
for
(
int
pjd
=
0
;
pjd
<
count_j
;
pjd
++
)
for
(
int
pjd
=
0
;
pjd
<
count_j
;
pjd
++
)
if
(
parts_j
[
pjd
].
ti_drift
!=
e
->
ti_current
)
error
(
"Particle pj not drifted to current time"
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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