Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
aedde1a8
Commit
aedde1a8
authored
8 years ago
by
Peter W. Draper
Browse files
Options
Downloads
Patches
Plain Diff
Move new subtypes to after count and name them
parent
43d8be2d
No related branches found
No related tags found
2 merge requests
!304
Star particle infrastructure
,
!303
MPI send/recv fixes for inactive cells
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/task.c
+2
-1
2 additions, 1 deletion
src/task.c
src/task.h
+2
-2
2 additions, 2 deletions
src/task.h
with
4 additions
and
3 deletions
src/task.c
+
2
−
1
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.
...
...
This diff is collapsed.
Click to expand it.
src/task.h
+
2
−
2
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
));
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment