From a0121c6b129e5a6c6768ea008382c3dba3a9f6fa Mon Sep 17 00:00:00 2001 From: James Willis <james.s.willis@durham.ac.uk> Date: Wed, 7 Nov 2018 14:35:46 +0000 Subject: [PATCH] Added new FOF task types. --- src/task.c | 4 +++- src/task.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/task.c b/src/task.c index 996c5113ba..ba83a14f54 100644 --- a/src/task.c +++ b/src/task.c @@ -58,7 +58,7 @@ const char *taskID_names[task_type_count] = { "grav_mm", "grav_down_in", "grav_down", "grav_mesh", "cooling", "star_formation", "sourceterms", "logger", "stars_ghost_in", - "stars_ghost", "stars_ghost_out"}; + "stars_ghost", "stars_ghost_out", "fof_self", "fof_pair"}; /* Sub-task type names. */ const char *subtaskID_names[task_subtype_count] = { @@ -162,6 +162,8 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on( case task_type_kick1: case task_type_kick2: case task_type_logger: + case task_type_fof_self: + case task_type_fof_pair: case task_type_timestep: case task_type_send: case task_type_recv: diff --git a/src/task.h b/src/task.h index 9b3225fcf2..e70d460833 100644 --- a/src/task.h +++ b/src/task.h @@ -71,6 +71,8 @@ enum task_types { task_type_stars_ghost_in, task_type_stars_ghost, task_type_stars_ghost_out, + task_type_fof_self, + task_type_fof_pair, task_type_count } __attribute__((packed)); -- GitLab