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

Also update calls in the test suite. Make the dump test clean its memory.

parent a443708f
......@@ -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);
......
......@@ -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);
......
......@@ -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;
}
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