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
d26b0fc0
Commit
d26b0fc0
authored
Sep 26, 2017
by
Matthieu Schaller
Browse files
Removed debugging lines tracking a particle through the long-range gravity forces.
parent
967d5c20
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/const.h
View file @
d26b0fc0
...
...
@@ -113,6 +113,4 @@
#define SOURCETERMS_NONE
//#define SOURCETERMS_SN_FEEDBACK
//#define ICHECK -30896
#endif
/* SWIFT_CONST_H */
src/runner_doiact_grav.h
View file @
d26b0fc0
...
...
@@ -1130,19 +1130,6 @@ void runner_doself_grav(struct runner *r, struct cell *c, int gettimer) {
*/
void
runner_do_grav_long_range
(
struct
runner
*
r
,
struct
cell
*
ci
,
int
timer
)
{
#if ICHECK > 0
for
(
int
pid
=
0
;
pid
<
ci
->
gcount
;
pid
++
)
{
/* Get a hold of the ith part in ci. */
struct
gpart
*
restrict
gp
=
&
ci
->
gparts
[
pid
];
if
(
gp
->
id_or_neg_offset
==
ICHECK
)
message
(
"id=%lld loc=[ %f %f %f ] size= %f count= %d"
,
gp
->
id_or_neg_offset
,
ci
->
loc
[
0
],
ci
->
loc
[
1
],
ci
->
loc
[
2
],
ci
->
width
[
0
],
ci
->
gcount
);
}
#endif
/* Some constants */
const
struct
engine
*
e
=
r
->
e
;
const
struct
space
*
s
=
e
->
s
;
...
...
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