diff --git a/src/cell.h b/src/cell.h index 4abf5cfaa6b02486d5ac74aabcb4199f4a1a2dc5..50da67952490b85fc8b078d325066774a32c8c22 100644 --- a/src/cell.h +++ b/src/cell.h @@ -159,7 +159,7 @@ struct cell { struct task *grav_external; /* Task for cooling */ - struct task *cooling_task; + struct task *cooling; /* Number of tasks that are associated with this cell. */ int nr_tasks; diff --git a/src/cooling.c b/src/cooling.c index 1e9d02e44bc1837e13d2ed0aa9796c3664b2702c..2bc717600a33a94811feadcab274f95500664533 100644 --- a/src/cooling.c +++ b/src/cooling.c @@ -98,7 +98,7 @@ void update_entropy(const struct phys_const* const phys_const, const struct Unit float u_old; float u_new; float new_entropy; - float old_entropy = p->entropy; + //float old_entropy = p->entropy; float rho = p->rho; // u_old = old_entropy/(GAMMA_MINUS1) * pow(rho,GAMMA_MINUS1); diff --git a/src/task.c b/src/task.c index de2fbe0160258fe3fbd5945ec536600e40422677..0aa2d844d53b6c0b6fa3031c23ee4cb41a498292 100644 --- a/src/task.c +++ b/src/task.c @@ -51,7 +51,7 @@ const char *taskID_names[task_type_count] = { "none", "sort", "self", "pair", "sub_self", "sub_pair", "init", "ghost", "extra_ghost", "kick", "kick_fixdt", "send", "recv", "grav_gather_m", "grav_fft", - "grav_mm", "grav_up", "grav_external"}; + "grav_mm", "grav_up", "grav_external", "cooling"}; const char *subtaskID_names[task_subtype_count] = { "none", "density", "gradient", "force", "grav", "tend"}; diff --git a/src/task.h b/src/task.h index 0b5700430cfb69a74d82dd8d3f45db2cb9c7842a..0b28dba5fd6fac6929ee492b29cdd64ed2073dcf 100644 --- a/src/task.h +++ b/src/task.h @@ -100,8 +100,6 @@ struct task { /*! Sub-type of the task (for the tasks that have one */ enum task_subtypes subtype; - char skip, tight, implicit; - int flags, wait, rank, weight; /*! Flags used to carry additional information (e.g. sort directions) */ int flags;