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

Style fixes

parent 771781cb
......@@ -72,8 +72,6 @@ const char *taskID_names[task_type_count] = {"none",
"timestep",
"timestep_limiter",
"timestep_sync",
"limiter_in",
"limiter_out",
"send",
"recv",
"grav_long_range",
......@@ -167,8 +165,6 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
case task_type_sort:
case task_type_ghost:
case task_type_extra_ghost:
case task_type_timestep_limiter:
case task_type_timestep_sync:
case task_type_cooling:
case task_type_end_hydro_force:
return task_action_part;
......@@ -240,6 +236,8 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
case task_type_fof_self:
case task_type_fof_pair:
case task_type_timestep:
case task_type_timestep_limiter:
case task_type_timestep_sync:
case task_type_send:
case task_type_recv:
if (t->ci->hydro.count > 0 && t->ci->grav.count > 0)
......
......@@ -66,8 +66,6 @@ enum task_types {
task_type_timestep,
task_type_timestep_limiter,
task_type_timestep_sync,
task_type_limiter_in, /* Implicit */
task_type_limiter_out, /* Implicit */
task_type_send,
task_type_recv,
task_type_grav_long_range,
......
......@@ -47,10 +47,8 @@ typedef int8_t timebin_t;
/*! Fictitious time-bin for particles not awaken */
#define time_bin_not_awake (-num_time_bins)
#define time_bin_awake (-(num_time_bins + 1))
/*! Fictitious time-bin for particles woken up */
//#define time_bin_awake (-1)
#define time_bin_awake (-(num_time_bins + 1))
/* Maximal difference in time-bins between neighbouring particles */
#define time_bin_neighbour_max_delta_bin 2
......
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