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
64603413
Commit
64603413
authored
Jan 19, 2017
by
Berenger Bramas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the MPI tsm working and add a test
parent
c3c49e1a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2034 additions
and
1445 deletions
+2034
-1445
Src/Core/FFmmAlgorithmThreadProcTsm.hpp
Src/Core/FFmmAlgorithmThreadProcTsm.hpp
+1523
-1443
Src/Core/FFmmAlgorithmThreadTsm.hpp
Src/Core/FFmmAlgorithmThreadTsm.hpp
+6
-2
Tests/Utils/testFmmAlgorithmProcTsm.cpp
Tests/Utils/testFmmAlgorithmProcTsm.cpp
+505
-0
No files found.
Src/Core/FFmmAlgorithmThreadProcTsm.hpp
View file @
64603413
This diff is collapsed.
Click to expand it.
Src/Core/FFmmAlgorithmThreadTsm.hpp
View file @
64603413
...
...
@@ -213,11 +213,12 @@ protected:
CellClass
*
potentialChild
[
8
];
CellClass
**
const
realChild
=
iterArray
[
idxCell
].
getCurrentChild
();
CellClass
*
const
currentCell
=
iterArray
[
idxCell
].
getCurrentCell
();
int
nbChildWithSrc
=
0
;
for
(
int
idxChild
=
0
;
idxChild
<
8
;
++
idxChild
){
potentialChild
[
idxChild
]
=
nullptr
;
if
(
realChild
[
idxChild
]){
if
(
realChild
[
idxChild
]
->
hasSrcChild
()){
currentCell
->
setSrcChildTrue
()
;
nbChildWithSrc
+=
1
;
potentialChild
[
idxChild
]
=
realChild
[
idxChild
];
}
if
(
realChild
[
idxChild
]
->
hasTargetsChild
()){
...
...
@@ -225,7 +226,10 @@ protected:
}
}
}
myThreadkernels
->
M2M
(
currentCell
,
potentialChild
,
idxLevel
);
if
(
nbChildWithSrc
){
currentCell
->
setSrcChildTrue
();
myThreadkernels
->
M2M
(
currentCell
,
potentialChild
,
idxLevel
);
}
}
}
FLOG
(
computationCounter
.
tac
());
...
...
Tests/Utils/testFmmAlgorithmProcTsm.cpp
0 → 100644
View file @
64603413
This diff is collapsed.
Click to expand it.
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