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
aedde1a8
Commit
aedde1a8
authored
Jan 23, 2017
by
Peter W. Draper
Browse files
Move new subtypes to after count and name them
parent
43d8be2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/task.c
View file @
aedde1a8
...
...
@@ -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.
...
...
src/task.h
View file @
aedde1a8
...
...
@@ -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
));
/**
...
...
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