Skip to content
Snippets Groups Projects
Commit 90555866 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Added a global array for the sub-task type names.

parent 0a89ef0f
No related branches found
No related tags found
2 merge requests!136Master,!79First version of the multiple time-stepping
......@@ -48,6 +48,10 @@ const char *taskID_names[task_type_count] = {
"ghost", "drift", "kick", "send", "recv", "link",
"grav_pp", "grav_mm", "grav_up", "grav_down"};
const char *subtaskID_names[task_type_count] = {
"none", "density", "force", "grav"};
/**
* @brief Unlock the cell held by this task.
*
......
......@@ -60,7 +60,7 @@ enum task_subtypes {
task_subtype_count
};
extern const char *taskID_names[];
extern const char *subtaskID_names[];
/* Data of a task. */
struct task {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment