Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
f878449a
Commit
f878449a
authored
Apr 27, 2015
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove typo
parent
c1dc7289
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp
Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp
+5
-6
No files found.
Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp
View file @
f878449a
...
...
@@ -145,9 +145,10 @@ public:
:
tree
(
inTree
)
,
kernels
(
nullptr
),
comm
(
inComm
),
nbLevelsAboveRoot
(
inUpperLevel
),
offsetRealTree
(
inUpperLevel
+
3
),
numberOfLeafs
(
0
),
MaxThreads
(
omp_get_max_threads
()),
nbProcess
(
inComm
.
processCount
()),
idProcess
(
inComm
.
processId
()),
OctreeHeight
(
tree
->
getHeight
()),
intervals
(
new
Interval
[
inComm
.
processCount
()]),
workingIntervalsPerLevel
(
new
Interval
[
inComm
.
processCount
()
*
tree
->
getHeight
()]),
leafLevelSeperationCriteria
(
inLeafLevelSeperationCriteria
)
{
OctreeHeight
(
tree
->
getHeight
()),
leafLevelSeperationCriteria
(
inLeafLevelSeperationCriteria
),
intervals
(
new
Interval
[
inComm
.
processCount
()]),
workingIntervalsPerLevel
(
new
Interval
[
inComm
.
processCount
()
*
tree
->
getHeight
()])
{
FAssertLF
(
tree
,
"tree cannot be null"
);
FAssertLF
(
-
1
<=
inUpperLevel
,
"inUpperLevel cannot be < -1"
);
...
...
@@ -756,8 +757,6 @@ protected:
// for each levels
for
(
int
idxLevel
=
1
;
idxLevel
<
OctreeHeight
;
++
idxLevel
){
const
int
separationCriteria
=
(
idxLevel
!=
OctreeHeight
-
1
?
1
:
leafLevelSeperationCriteria
);
if
(
!
procHasWorkAtLevel
(
idxLevel
,
idProcess
)){
avoidGotoLeftIterator
.
moveDown
();
octreeIterator
=
avoidGotoLeftIterator
;
...
...
@@ -1782,7 +1781,7 @@ protected:
// This is not on a border we can use normal interaction list method
if
(
!
(
parentCell
.
getX
()
==
0
||
parentCell
.
getY
()
==
0
||
parentCell
.
getZ
()
==
0
||
parentCell
.
getX
()
==
boxLimite
-
1
||
parentCell
.
getY
()
==
boxLimite
-
1
||
parentCell
.
getZ
()
==
boxLimite
-
1
)
)
{
return
getInteractionNeighbors
(
workingCell
,
inLevel
,
inNeighbors
,
inNeighborsPosition
);
return
getInteractionNeighbors
(
workingCell
,
inLevel
,
inNeighbors
,
inNeighborsPosition
,
neighSeparation
);
}
const
int
startX
=
(
TestPeriodicCondition
(
inDirection
,
DirMinusX
)
||
parentCell
.
getX
()
!=
0
?-
1
:
0
);
...
...
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