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
58bc2643
Commit
58bc2643
authored
Jun 24, 2013
by
Pedro Gonnet
Browse files
remove debugging code in parts_sort.
Former-commit-id: f6b4e759f670ebe48a7e03e4143a8d197c4db74f
parent
5a7bd461
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/space.c
View file @
58bc2643
...
...
@@ -265,7 +265,7 @@ void space_rebuild ( struct space *s , double cell_max ) {
ih
[
0
]
=
s
->
ih
[
0
];
ih
[
1
]
=
s
->
ih
[
1
];
ih
[
2
]
=
s
->
ih
[
2
];
dim
[
0
]
=
s
->
dim
[
0
];
dim
[
1
]
=
s
->
dim
[
1
];
dim
[
2
]
=
s
->
dim
[
2
];
cdim
[
0
]
=
s
->
cdim
[
0
];
cdim
[
1
]
=
s
->
cdim
[
1
];
cdim
[
2
]
=
s
->
cdim
[
2
];
//
#pragma omp parallel for private(p,j)
#pragma omp parallel for private(p,j)
for
(
k
=
0
;
k
<
nr_parts
;
k
++
)
{
p
=
&
parts
[
k
];
for
(
j
=
0
;
j
<
3
;
j
++
)
...
...
@@ -468,9 +468,9 @@ void parts_sort ( struct part *parts , int *ind , int N , int min , int max ) {
}
/* parallel bit. */
/* Verify sort. */
for
(
i
=
1
;
i
<
N
;
i
++
)
/*
for ( i = 1 ; i < N ; i++ )
if ( ind[i-1] > ind[i] )
error
(
"Sorting failed!"
);
error( "Sorting failed!" );
*/
}
...
...
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