diff --git a/src/engine.c b/src/engine.c index eaa52bdd6b00bf5c15289c93ff3008896489e8ba..5cade0e2b25c1354df5d61a5a3662054a4475f70 100644 --- a/src/engine.c +++ b/src/engine.c @@ -164,8 +164,8 @@ void engine_make_hierarchical_tasks(struct engine *e, struct cell *c) { /* Add the sort task. */ if (is_with_hydro) { - c->sorts = - scheduler_addtask(s, task_type_sort, task_subtype_none, 0, 0, c, NULL); + c->sorts = scheduler_addtask(s, task_type_sort, task_subtype_none, 0, 0, + c, NULL); } /* Local tasks only... */ @@ -173,8 +173,8 @@ void engine_make_hierarchical_tasks(struct engine *e, struct cell *c) { /* Add the drift task. */ if (is_with_hydro) { - c->drift_part = scheduler_addtask(s, task_type_drift_part, - task_subtype_none, 0, 0, c, NULL); + c->drift_part = scheduler_addtask(s, task_type_drift_part, + task_subtype_none, 0, 0, c, NULL); } /* Add the two half kicks */ diff --git a/src/gravity.c b/src/gravity.c index f58bc1b7456bc5dfc95b4c976ebda8e1999ff3e0..1c0fb6c7236cd4fa73e730ff89fe55698e0c1aba 100644 --- a/src/gravity.c +++ b/src/gravity.c @@ -559,7 +559,9 @@ void gravity_exact_force_check(struct space *s, const struct engine *e, fprintf(file_exact, "# G= %16.8e\n", e->physical_constants->const_newton_G); fprintf(file_exact, "# N= %d\n", SWIFT_GRAVITY_FORCE_CHECKS); fprintf(file_exact, "# epsilon=%16.8e\n", e->gravity_properties->epsilon); - fprintf(file_exact, "# theta=%16.8e\n", e->gravity_properties->theta_crit); + fprintf(file_exact, "# periodic= %d\n", s->periodic); + fprintf(file_exact, "# Git Branch: %s\n", git_branch()); + fprintf(file_exact, "# Git Revision: %s\n", git_revision()); fprintf(file_exact, "# %16s %16s %16s %16s %16s %16s %16s\n", "id", "pos[0]", "pos[1]", "pos[2]", "a_exact[0]", "a_exact[1]", "a_exact[2]");