Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ext-edelen_a
src
Commits
23656bfe
Commit
23656bfe
authored
Mar 04, 2015
by
kraus
Browse files
correct non-sense criterion
parent
ff8a9527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
classic/5.0/src/Algorithms/PartBunch.cpp
classic/5.0/src/Algorithms/PartBunch.cpp
+5
-5
No files found.
classic/5.0/src/Algorithms/PartBunch.cpp
View file @
23656bfe
...
...
@@ -2469,12 +2469,12 @@ size_t PartBunch::boundp_destroyT() {
}
}
else
{
for
(
unsigned
int
i
=
0
;
i
<
this
->
getLocalNum
();
i
++
)
{
if
((
Bin
[
i
]
<
0
)
&&
((
this
->
getLocalNum
()
-
i
)
>
1
))
{
// need in minimum 1 particle per node
ne
++
;
this
->
destroy
(
1
,
i
);
}
if
((
Bin
[
i
]
<
0
)
&&
((
this
->
getLocalNum
()
-
ne
)
>
1
))
{
// need in minimum 1 particle per node
ne
++
;
this
->
destroy
(
1
,
i
);
}
}
lowParticleCount_m
=
((
this
->
getLocalNum
()
-
ne
)
<=
1
);
lowParticleCount_m
=
((
this
->
getLocalNum
()
-
ne
)
<=
1
);
reduce
(
lowParticleCount_m
,
lowParticleCount_m
,
OpOr
());
}
update
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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