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
a5900a34
Commit
a5900a34
authored
8 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Plain Diff
Merge branch 'space_rebuild' of gitlab.cosma.dur.ac.uk:swift/swiftsim into space_rebuild
parents
61295a90
4debd3c4
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!284
Space rebuild
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/space.c
+2
-2
2 additions, 2 deletions
src/space.c
with
2 additions
and
2 deletions
src/space.c
+
2
−
2
View file @
a5900a34
...
@@ -602,7 +602,7 @@ void space_rebuild(struct space *s, int verbose) {
...
@@ -602,7 +602,7 @@ void space_rebuild(struct space *s, int verbose) {
#endif
/* WITH_MPI */
#endif
/* WITH_MPI */
/* Sort the parts according to their cells. */
/* Sort the parts according to their cells. */
space_parts_sort
(
s
,
ind
,
nr_parts
,
0
,
s
->
nr_cells
-
1
,
verbose
);
if
(
nr_parts
>
0
)
space_parts_sort
(
s
,
ind
,
nr_parts
,
0
,
s
->
nr_cells
-
1
,
verbose
);
/* Re-link the gparts. */
/* Re-link the gparts. */
if
(
nr_parts
>
0
&&
nr_gparts
>
0
)
part_relink_gparts
(
s
->
parts
,
nr_parts
,
0
);
if
(
nr_parts
>
0
&&
nr_gparts
>
0
)
part_relink_gparts
(
s
->
parts
,
nr_parts
,
0
);
...
@@ -662,7 +662,7 @@ void space_rebuild(struct space *s, int verbose) {
...
@@ -662,7 +662,7 @@ void space_rebuild(struct space *s, int verbose) {
#endif
#endif
/* Sort the gparts according to their cells. */
/* Sort the gparts according to their cells. */
space_gparts_sort
(
s
,
gind
,
nr_gparts
,
0
,
s
->
nr_cells
-
1
,
verbose
);
if
(
nr_gparts
>
0
)
space_gparts_sort
(
s
,
gind
,
nr_gparts
,
0
,
s
->
nr_cells
-
1
,
verbose
);
/* Re-link the parts. */
/* Re-link the parts. */
if
(
nr_parts
>
0
&&
nr_gparts
>
0
)
if
(
nr_parts
>
0
&&
nr_gparts
>
0
)
...
...
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