Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
a0121c6b
Commit
a0121c6b
authored
Nov 07, 2018
by
James Willis
Browse files
Added new FOF task types.
parent
6e98773d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/task.c
View file @
a0121c6b
...
...
@@ -58,7 +58,7 @@ const char *taskID_names[task_type_count] = {
"grav_mm"
,
"grav_down_in"
,
"grav_down"
,
"grav_mesh"
,
"cooling"
,
"star_formation"
,
"sourceterms"
,
"logger"
,
"stars_ghost_in"
,
"stars_ghost"
,
"stars_ghost_out"
};
"stars_ghost"
,
"stars_ghost_out"
,
"fof_self"
,
"fof_pair"
};
/* Sub-task type names. */
const
char
*
subtaskID_names
[
task_subtype_count
]
=
{
...
...
@@ -162,6 +162,8 @@ __attribute__((always_inline)) INLINE static enum task_actions task_acts_on(
case
task_type_kick1
:
case
task_type_kick2
:
case
task_type_logger
:
case
task_type_fof_self
:
case
task_type_fof_pair
:
case
task_type_timestep
:
case
task_type_send
:
case
task_type_recv
:
...
...
src/task.h
View file @
a0121c6b
...
...
@@ -71,6 +71,8 @@ enum task_types {
task_type_stars_ghost_in
,
task_type_stars_ghost
,
task_type_stars_ghost_out
,
task_type_fof_self
,
task_type_fof_pair
,
task_type_count
}
__attribute__
((
packed
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment