Commit 174d9ec9 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Propagate the new task names into the partition code.

parent 334bc546
......@@ -496,7 +496,8 @@ struct cell {
/*! The drift task for sparts */
struct task *drift;
/*! Implicit tasks marking the entry of the stellar physics block of tasks */
/*! Implicit tasks marking the entry of the stellar physics block of tasks
*/
struct task *stars_in;
/*! Implicit tasks marking the exit of the stellar physics block of tasks */
......
......@@ -1244,9 +1244,10 @@ static void partition_gather_weights(void *map_data, int num_elements,
if (t->type == task_type_drift_part || t->type == task_type_drift_gpart ||
t->type == task_type_ghost || t->type == task_type_extra_ghost ||
t->type == task_type_kick1 || t->type == task_type_kick2 ||
t->type == task_type_end_force || t->type == task_type_cooling ||
t->type == task_type_timestep || t->type == task_type_init_grav ||
t->type == task_type_grav_down ||
t->type == task_type_end_hydro_force ||
t->type == task_type_end_grav_force || t->type == task_type_cooling ||
t->type == task_type_star_formation || t->type == task_type_timestep ||
t->type == task_type_init_grav || t->type == task_type_grav_down ||
t->type == task_type_grav_long_range) {
/* Particle updates add only to vertex weight. */
......@@ -2149,9 +2150,10 @@ static void check_weights(struct task *tasks, int nr_tasks,
if (t->type == task_type_drift_part || t->type == task_type_drift_gpart ||
t->type == task_type_ghost || t->type == task_type_extra_ghost ||
t->type == task_type_kick1 || t->type == task_type_kick2 ||
t->type == task_type_end_force || t->type == task_type_cooling ||
t->type == task_type_timestep || t->type == task_type_init_grav ||
t->type == task_type_grav_down ||
t->type == task_type_end_hydro_force ||
t->type == task_type_end_grav_force || t->type == task_type_cooling ||
t->type == task_type_star_formation || t->type == task_type_timestep ||
t->type == task_type_init_grav || t->type == task_type_grav_down ||
t->type == task_type_grav_long_range) {
/* Particle updates add only to vertex weight. */
......
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