Commit d26b0fc0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed debugging lines tracking a particle through the long-range gravity forces.

parent 967d5c20
...@@ -113,6 +113,4 @@ ...@@ -113,6 +113,4 @@
#define SOURCETERMS_NONE #define SOURCETERMS_NONE
//#define SOURCETERMS_SN_FEEDBACK //#define SOURCETERMS_SN_FEEDBACK
//#define ICHECK -30896
#endif /* SWIFT_CONST_H */ #endif /* SWIFT_CONST_H */
...@@ -1130,19 +1130,6 @@ void runner_doself_grav(struct runner *r, struct cell *c, int gettimer) { ...@@ -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) { 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 */ /* Some constants */
const struct engine *e = r->e; const struct engine *e = r->e;
const struct space *s = e->s; const struct space *s = e->s;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment