diff --git a/examples/main.c b/examples/main.c index 13c4c918f4767af0bee7963c339b4696509268b1..fa4186fc0b34a456bcef243fd596905a197f920f 100644 --- a/examples/main.c +++ b/examples/main.c @@ -1011,7 +1011,7 @@ int main(int argc, char *argv[]) { "the ICs!"); } - /* Verify that each particle is in it's proper cell. */ + /* Verify that each particle is in its proper cell. */ if (talking && !dry_run) { int icount = 0; space_map_cells_pre(&s, 0, &map_cellcheck, &icount); @@ -1099,10 +1099,6 @@ int main(int argc, char *argv[]) { if (s.periodic) gravity_exact_force_ewald_init(e.s->dim[0]); #endif -/* Init the runner history. */ -#ifdef HIST - for (k = 0; k < runner_hist_N; k++) runner_hist_bins[k] = 0; -#endif if (!restart) { @@ -1242,17 +1238,6 @@ int main(int argc, char *argv[]) { #endif // SWIFT_DEBUG_THREADPOOL } -/* Print the values of the runner histogram. */ -#ifdef HIST - printf("main: runner histogram data:\n"); - for (k = 0; k < runner_hist_N; k++) - printf(" %e %e %e\n", - runner_hist_a + k * (runner_hist_b - runner_hist_a) / runner_hist_N, - runner_hist_a + - (k + 1) * (runner_hist_b - runner_hist_a) / runner_hist_N, - (double)runner_hist_bins[k]); -#endif - /* Write final time information */ if (myrank == 0) {