Commit a0121c6b authored by James Willis's avatar James Willis
Browse files

Added new FOF task types.

parent 6e98773d
...@@ -58,7 +58,7 @@ const char *taskID_names[task_type_count] = { ...@@ -58,7 +58,7 @@ const char *taskID_names[task_type_count] = {
"grav_mm", "grav_down_in", "grav_down", "grav_mm", "grav_down_in", "grav_down",
"grav_mesh", "cooling", "star_formation", "grav_mesh", "cooling", "star_formation",
"sourceterms", "logger", "stars_ghost_in", "sourceterms", "logger", "stars_ghost_in",
"stars_ghost", "stars_ghost_out"}; "stars_ghost", "stars_ghost_out", "fof_self", "fof_pair"};
/* Sub-task type names. */ /* Sub-task type names. */
const char *subtaskID_names[task_subtype_count] = { const char *subtaskID_names[task_subtype_count] = {
...@@ -162,6 +162,8 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on( ...@@ -162,6 +162,8 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
case task_type_kick1: case task_type_kick1:
case task_type_kick2: case task_type_kick2:
case task_type_logger: case task_type_logger:
case task_type_fof_self:
case task_type_fof_pair:
case task_type_timestep: case task_type_timestep:
case task_type_send: case task_type_send:
case task_type_recv: case task_type_recv:
......
...@@ -71,6 +71,8 @@ enum task_types { ...@@ -71,6 +71,8 @@ enum task_types {
task_type_stars_ghost_in, task_type_stars_ghost_in,
task_type_stars_ghost, task_type_stars_ghost,
task_type_stars_ghost_out, task_type_stars_ghost_out,
task_type_fof_self,
task_type_fof_pair,
task_type_count task_type_count
} __attribute__((packed)); } __attribute__((packed));
......
Supports Markdown
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