Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
c7386304
Commit
c7386304
authored
May 05, 2015
by
BRAMAS Berenger
Browse files
oups little bug in the way of finding the chunck size for P2P
parent
38ec2433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Core/FFmmAlgorithmThread.hpp
View file @
c7386304
...
...
@@ -448,7 +448,7 @@ protected:
for
(
int
idxShape
=
0
;
idxShape
<
SizeShape
;
++
idxShape
){
const
int
endAtThisShape
=
this
->
shapeLeaf
[
idxShape
]
+
previous
;
const
int
chunkSize
=
getChunkSize
(
endAtThisShape
);
const
int
chunkSize
=
getChunkSize
(
endAtThisShape
-
previous
);
#pragma omp for schedule(dynamic, chunkSize)
for
(
int
idxLeafs
=
previous
;
idxLeafs
<
endAtThisShape
;
++
idxLeafs
){
LeafData
&
currentIter
=
leafsDataArray
[
idxLeafs
];
...
...
Write
Preview
Supports
Markdown
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