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
be3ef045
Commit
be3ef045
authored
May 16, 2017
by
James Willis
Browse files
Added debugging check.
parent
be7d56c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner_doiact_vec.c
View file @
be3ef045
...
...
@@ -887,6 +887,16 @@ __attribute__((always_inline)) INLINE void runner_doself2_force_vec(
/* Read the particles from the cell and store them locally in the cache. */
cache_read_particles
(
c
,
cell_cache
);
#ifdef SWIFT_DEBUG_CHECKS
for
(
int
i
=
0
;
i
<
count
;
i
++
)
{
pi
=
&
c
->
parts
[
i
];
/* Check that particles have been drifted to the current time */
if
(
pi
->
ti_drift
!=
e
->
ti_current
)
error
(
"Particle pi not drifted to current time"
);
}
}
#endif
/* Create secondary cache to store particle interactions. */
struct
c2_cache
int_cache
;
int
icount
=
0
,
icount_align
=
0
;
...
...
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