Commit 73da4be8 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

fix subtype ordering and formatting.

parent bca734bd
......@@ -788,8 +788,8 @@ void engine_addtasks_recv(struct engine *e, struct cell *c, struct task *t_xv,
if (t_xv == NULL && c->density != NULL) {
/* Create the tasks. */
t_xv = scheduler_addtask(s, task_type_recv, task_subtype_xv, 4 * c->tag,
0, c, NULL, 0);
t_xv = scheduler_addtask(s, task_type_recv, task_subtype_xv, 4 * c->tag, 0,
c, NULL, 0);
t_rho = scheduler_addtask(s, task_type_recv, task_subtype_rho,
4 * c->tag + 1, 0, c, NULL, 0);
t_ti = scheduler_addtask(s, task_type_recv, task_subtype_tend,
......
......@@ -55,7 +55,8 @@ const char *taskID_names[task_type_count] = {
"sourceterms"};
const char *subtaskID_names[task_subtype_count] = {
"none", "density", "gradient", "force", "grav", "external_grav", "tend"};
"none", "density", "gradient", "force", "grav",
"external_grav", "tend", "xv", "rho"};
/**
* @brief Computes the overlap between the parts array of two given cells.
......
......@@ -71,9 +71,9 @@ enum task_subtypes {
task_subtype_grav,
task_subtype_external_grav,
task_subtype_tend,
task_subtype_count,
task_subtype_xv,
task_subtype_rho
task_subtype_rho,
task_subtype_count
} __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