From 4abcd8a76e2fe7d7fde8a797410bc69102dd7bf5 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Mon, 20 Jun 2016 22:13:40 +0200 Subject: [PATCH] run format.sh --- src/engine.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/engine.c b/src/engine.c index bc89cc1cd9..892094896f 100644 --- a/src/engine.c +++ b/src/engine.c @@ -66,11 +66,19 @@ #include "timers.h" #include "units.h" -const char *engine_policy_names[13] = { - "none", "rand", "steal", "keep", - "block", "fix_dt", "cpu_tight", "mpi", - "numa_affinity", "hydro", "self_gravity", "external_gravity", - "cosmology_integration"}; +const char *engine_policy_names[13] = {"none", + "rand", + "steal", + "keep", + "block", + "fix_dt", + "cpu_tight", + "mpi", + "numa_affinity", + "hydro", + "self_gravity", + "external_gravity", + "cosmology_integration"}; /** The rank of the engine as a global variable (for messages). */ int engine_rank; @@ -120,7 +128,7 @@ void engine_make_hierarchical_tasks(struct engine *e, struct cell *c, engine_policy_external_gravity; const int is_fixdt = (e->policy & engine_policy_fixdt) == engine_policy_fixdt; - /* Is this the super-cell? + /* Is this the super-cell? TODO(pedro): Add a condition for gravity tasks as well. */ if (super == NULL && (c->density != NULL || (!c->split && (c->count > 0 || c->gcount > 0)))) { -- GitLab