diff --git a/src/runner_doiact.h b/src/runner_doiact.h index cf5d56e94169b44e6cd2974a3422a0bc5e4610ac..de339db6133fcc829bdc6ee0ce9e537b68982422 100644 --- a/src/runner_doiact.h +++ b/src/runner_doiact.h @@ -1235,7 +1235,7 @@ void DOPAIR2(struct runner *r, struct cell *ci, struct cell *cj) { #else /* Does pi need to be updated too? */ - if (pi->dt <= dt_step) { + if (pi->ti_end <= ti_current) { /* Add this interaction to the symmetric queue. */ r2q2[icount2] = r2; diff --git a/src/scheduler.c b/src/scheduler.c index 722e344b5a86b5fbdc42c7038fd3cb00e44b2ee8..386b0e27a234a938c72d1af55b35cdc63597e337 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -99,7 +99,6 @@ void scheduler_splittasks(struct scheduler *s) { struct cell *ci, *cj; double hi, hj, shift[3]; struct task *t, *t_old; - // float dt_step = s->dt_step; int pts[7][8] = {{-1, 12, 10, 9, 4, 3, 1, 0}, {-1, -1, 11, 10, 5, 4, 2, 1}, {-1, -1, -1, 12, 7, 6, 4, 3}, diff --git a/src/space.h b/src/space.h index 91485ff7e2ebe9da8ab927748589ae9f71320803..20f86562010f59f487c9783e83d540c196ddee83 100644 --- a/src/space.h +++ b/src/space.h @@ -64,9 +64,6 @@ struct space { /* The minimum and maximum cutoff radii. */ double h_max, cell_min; - /* Current time step for particles. */ - float dt_step; - /* Current maximum displacement for particles. */ float dx_max;