From 048cc0af45b8ec5f8349f0b02e65a275f1fe0d26 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Tue, 20 Dec 2016 17:42:48 +0100 Subject: [PATCH] Remove all debugging information --- src/cell.c | 2 -- src/hydro/Gadget2/hydro.h | 1 - src/hydro/Gadget2/hydro_part.h | 2 -- 3 files changed, 5 deletions(-) diff --git a/src/cell.c b/src/cell.c index f0668f48f0..c7b992bb72 100644 --- a/src/cell.c +++ b/src/cell.c @@ -1062,8 +1062,6 @@ void cell_drift(struct cell *c, const struct engine *e) { /* Drift... */ drift_part(p, xp, dt, timeBase, ti_old, ti_current); - p->ti_old = ti_current; - /* Compute (square of) motion since last cell construction */ const float dx2 = xp->x_diff[0] * xp->x_diff[0] + xp->x_diff[1] * xp->x_diff[1] + diff --git a/src/hydro/Gadget2/hydro.h b/src/hydro/Gadget2/hydro.h index 66c6998057..157893bc9e 100644 --- a/src/hydro/Gadget2/hydro.h +++ b/src/hydro/Gadget2/hydro.h @@ -212,7 +212,6 @@ __attribute__((always_inline)) INLINE static float hydro_compute_timestep( __attribute__((always_inline)) INLINE static void hydro_first_init_part( struct part *restrict p, struct xpart *restrict xp) { - p->ti_old = 0; p->ti_begin = 0; p->ti_end = 0; xp->v_full[0] = p->v[0]; diff --git a/src/hydro/Gadget2/hydro_part.h b/src/hydro/Gadget2/hydro_part.h index 15545f4800..4bbbf0aede 100644 --- a/src/hydro/Gadget2/hydro_part.h +++ b/src/hydro/Gadget2/hydro_part.h @@ -71,8 +71,6 @@ struct part { /* Particle time of end of time-step. */ int ti_end; - int ti_old; - /* Particle density. */ float rho; -- GitLab