diff --git a/src/runner.h b/src/runner.h index 53e78b00657385c7185e0730d421707c87ccf382..49ad5c98354dac157d30ba292f4e48ce05301586 100644 --- a/src/runner.h +++ b/src/runner.h @@ -56,7 +56,7 @@ struct runner { void runner_do_ghost(struct runner *r, struct cell *c, int timer); void runner_do_extra_ghost(struct runner *r, struct cell *c, int timer); void runner_do_sort(struct runner *r, struct cell *c, int flag, int clock); -void runner_do_drift(struct runner *r, struct cell *c, int timer); +void runner_do_drift_particles(struct runner *r, struct cell *c, int timer); void runner_do_kick1(struct runner *r, struct cell *c, int timer); void runner_do_kick2(struct runner *r, struct cell *c, int timer); void runner_do_end_force(struct runner *r, struct cell *c, int timer); diff --git a/tests/test125cells.c b/tests/test125cells.c index 91b1cf6dc3b321643aae1f4eec6bd3d7abb48350..aedf0e0b77898cadf97383dfc956a3d6b5ebf39f 100644 --- a/tests/test125cells.c +++ b/tests/test125cells.c @@ -580,7 +580,7 @@ int main(int argc, char *argv[]) { // runner_do_kick1(&runner, main_cell, 0); /* And a gentle drift */ - // runner_do_drift(&runner, main_cell, 0); + // runner_do_drift_particles(&runner, main_cell, 0); /* First, sort stuff */ for (int j = 0; j < 125; ++j) runner_do_sort(&runner, cells[j], 0x1FFF, 0); @@ -678,7 +678,7 @@ int main(int argc, char *argv[]) { // runner_do_kick1(&runner, main_cell, 0); /* And drift it */ - runner_do_drift(&runner, main_cell, 0); + runner_do_drift_particles(&runner, main_cell, 0); /* Initialise the particles */ for (int j = 0; j < 125; ++j) runner_do_init(&runner, cells[j], 0); diff --git a/tests/testDump.c b/tests/testDump.c index ab74a1b1f022761efedf5258a20c525fcef47bd6..32cffcbf2f832cae0ffb2ccb36f52699d1f1898f 100644 --- a/tests/testDump.c +++ b/tests/testDump.c @@ -79,6 +79,9 @@ int main(int argc, char *argv[]) { /* Finalize the dump. */ dump_close(&d); + /* Clean the threads */ + threadpool_clean(&t); + /* Return a happy number. */ return 0; }