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
0b3df5fe
Commit
0b3df5fe
authored
Mar 04, 2017
by
Matthieu Schaller
Browse files
Only use debugging variables when debugging
parent
2f5cf547
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/multipole.h
View file @
0b3df5fe
...
...
@@ -357,10 +357,11 @@ INLINE static void gravity_L2P(const struct gravity_tensors *l,
for
(
int
i
=
0
;
i
<
gcount
;
++
i
)
{
#ifdef SWIFT_DEBUG_CHECKS
struct
gpart
*
gp
=
&
gparts
[
i
];
// if(gpart_is_active(gp, e)){
#ifdef SWIFT_DEBUG_CHECKS
gp
->
mass_interacted
+=
l
->
mass_interacted
;
#endif
//}
...
...
Matthieu Schaller
@matthieu
mentioned in issue
#270 (closed)
·
Mar 07, 2017
mentioned in issue
#270 (closed)
mentioned in issue #270
Toggle commit list
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