Commit 36a9edeb authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Left-overs

parent 858c608c
......@@ -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;
......
......@@ -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},
......
......@@ -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;
......
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