Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!632Add functions to permanently remove particles from a simulation
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment