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

Add more information to the header of the exact gravity files.

parent afb02ce5
......@@ -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 */
......
......@@ -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]");
......
Markdown is supported
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