Commit 10f784f7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Add a task action for the star formation task. Add the new engine policy's name string.

parent 4413f001
......@@ -111,6 +111,7 @@ const char *engine_policy_names[] = {"none",
"sourceterms",
"stars",
"structure finding",
"star formation",
"feedback"};
/** The rank of the engine as a global variable (for messages). */
......
......@@ -123,6 +123,9 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
return task_action_part;
break;
case task_type_star_formation:
return task_action_all;
case task_type_stars_ghost:
return task_action_spart;
break;
......
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