Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
0870b564
Commit
0870b564
authored
Aug 21, 2014
by
BRAMAS Berenger
Browse files
Add print in test algo proc core
parent
c8f9e02d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/Utils/testFmmAlgorithmProc.cpp
View file @
0870b564
...
...
@@ -118,7 +118,7 @@ void ValidateFMMAlgoProc(OctreeClass* const badTree,
FmmClassProc
*
const
fmm
){
std
::
cout
<<
"The working interval is from "
<<
fmm
->
getWorkingInterval
(
badTree
->
getHeight
()
-
1
).
leftIndex
<<
"
\n
"
;
std
::
cout
<<
"The working interval is to "
<<
fmm
->
getWorkingInterval
(
badTree
->
getHeight
()
-
1
).
rightIndex
<<
"
\n
"
;
std
::
cout
<<
"
\t
Validate L2L M2M...
\n
"
;
const
int
OctreeHeight
=
badTree
->
getHeight
();
{
typename
OctreeClass
::
Iterator
octreeIterator
(
badTree
);
...
...
@@ -165,7 +165,7 @@ void ValidateFMMAlgoProc(OctreeClass* const badTree,
octreeIteratorValide
.
gotoLeft
();
}
}
std
::
cout
<<
"
\t
Validate L2P P2P...
\n
"
;
{
FSize
NbPart
=
0
;
FSize
NbLeafs
=
0
;
...
...
@@ -200,6 +200,7 @@ void ValidateFMMAlgoProc(OctreeClass* const badTree,
}
while
(
octreeIterator
.
moveRight
());
}
}
std
::
cout
<<
"
\t
Validate P2M...
\n
"
;
{
{
// Check that each particle has been summed with all other
...
...
@@ -214,7 +215,7 @@ void ValidateFMMAlgoProc(OctreeClass* const badTree,
}
while
(
octreeIterator
.
moveRight
()
);
}
}
std
::
cout
<<
"
\t
Validate Particles...
\n
"
;
{
// Check that each particle has been summed with all other
typename
OctreeClass
::
Iterator
octreeIterator
(
badTree
);
...
...
@@ -262,7 +263,7 @@ void ValidateFMMAlgoProc(OctreeClass* const badTree,
}
while
(
octreeIterator
.
moveRight
()
&&
valideOctreeIterator
.
moveRight
());
}
std
::
cout
<<
"
\t
Done!
\n
"
;
}
...
...
@@ -459,4 +460,3 @@ FMpiFmaGenericLoader loader(filename,app.global());
}
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