Skip to content
GitLab
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
2562b730
Commit
2562b730
authored
Sep 29, 2013
by
COULAUD Olivier
Browse files
Fix typos
parent
fab5b3cf
Changes
6
Hide whitespace changes
Inline
Side-by-side
Src/Core/FFmmAlgorithmThread.hpp
View file @
2562b730
...
...
@@ -40,7 +40,7 @@
* It used the inspector-executor model :
* iterates on the tree and builds an array to work in parallel on this array
*
* Of course this class does not deallocate pointer given in argu
e
ments.
* Of course this class does not deallocate pointer given in arguments.
*
* When using this algorithm the P2P is thread safe.
*/
...
...
@@ -267,7 +267,7 @@ private:
}
/////////////////////////////////////////////////////////////////////////////
// Downard
// Down
w
ard
/////////////////////////////////////////////////////////////////////////////
void
downardPass
(){
// second L2L
...
...
@@ -283,7 +283,7 @@ private:
typename
OctreeClass
::
Iterator
avoidGotoLeftIterator
(
octreeIterator
);
const
int
heightMinusOne
=
OctreeHeight
-
1
;
// for each levels exepted leaf level
// for each levels ex
c
epted leaf level
for
(
int
idxLevel
=
2
;
idxLevel
<
heightMinusOne
;
++
idxLevel
){
FLOG
(
FTic
counterTimeLevel
);
int
numberOfCells
=
0
;
...
...
@@ -373,8 +373,8 @@ private:
const
int
positionToWork
=
startPosAtShape
[
shapePosition
]
++
;
omp_unset_lock
(
&
lockShape
[
shapePosition
]);
leafsDataArray
[
positionToWork
].
index
=
octreeIterator
.
getCurrentGlobalIndex
();
leafsDataArray
[
positionToWork
].
cell
=
octreeIterator
.
getCurrentCell
();
leafsDataArray
[
positionToWork
].
index
=
octreeIterator
.
getCurrentGlobalIndex
();
leafsDataArray
[
positionToWork
].
cell
=
octreeIterator
.
getCurrentCell
();
leafsDataArray
[
positionToWork
].
targets
=
octreeIterator
.
getCurrentListTargets
();
leafsDataArray
[
positionToWork
].
sources
=
octreeIterator
.
getCurrentListSrc
();
...
...
@@ -418,8 +418,8 @@ private:
FLOG
(
FLog
::
Controller
<<
"
\t
Finished (@Direct Pass (L2P + P2P) = "
<<
counterTime
.
tacAndElapsed
()
<<
"s)
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t\t
Computation L2P + P2P : "
<<
computationCounter
.
cumulated
()
<<
" s
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t\t
Computation P2P : "
<<
computationCounterP2P
.
cumulated
()
<<
" s
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t\t
Computation L2P + P2P : "
<<
computationCounter
.
cumulated
()
<<
" s
\n
"
);
FLOG
(
FLog
::
Controller
<<
"
\t\t
Computation P2P :
"
<<
computationCounterP2P
.
cumulated
()
<<
" s
\n
"
);
}
...
...
Src/Utils/FMpi.hpp
View file @
2562b730
...
...
@@ -19,7 +19,7 @@
#include
<cstdio>
#include
"FGlobal.hpp"
//
#include "FGlobal.hpp"
#include
"FNoCopyable.hpp"
#include
"FMath.hpp"
...
...
Tests/Kernels/testRotationAlgorithm.cpp
View file @
2562b730
...
...
@@ -143,7 +143,7 @@ int main(int argc, char** argv){
}
});
std
::
cout
<<
"Foces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Fo
r
ces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Potential = "
<<
potential
<<
std
::
endl
;
}
...
...
Tests/Kernels/testSphericalBench.cpp
View file @
2562b730
...
...
@@ -211,7 +211,7 @@ int main(int argc, char ** argv){
std
::
cout
<<
"To test between for NB PART different H for 3 accuracies
\n\n
"
;
std
::
cout
<<
">> -test-p [-p P] [-h H] [-nb NB PART] [-pv PHYSICAL VALUE]
\n
"
;
std
::
cout
<<
"To test the time for a run of different nb particl
u
es
\n\n
"
;
std
::
cout
<<
"To test the time for a run of different nb particles
\n\n
"
;
}
const
int
NbParticles
=
FParameters
::
getValue
(
argc
,
argv
,
"-nb"
,
60000
);
...
...
Tests/Kernels/testSphericalEwalAlgorithm.cpp
View file @
2562b730
...
...
@@ -64,7 +64,7 @@ int main(int argc, char ** argv){
///////////////////////What we do/////////////////////////////
std
::
cout
<<
">> This executable has to be used to test Spherical algorithm.
\n
"
;
std
::
cout
<<
">> options are -h H -sh SH -P p -per PER -f FILE -noper -verbose -gen -direct
\n
"
;
std
::
cout
<<
">> Recomm
a
nded files : ../Data/EwalTest_Periodic.run ../Data/EwalTest_NoPeriodic.run
\n
"
;
std
::
cout
<<
">> Recomm
e
nded files : ../Data/EwalTest_Periodic.run ../Data/EwalTest_NoPeriodic.run
\n
"
;
//////////////////////////////////////////////////////////////
const
int
NbLevels
=
FParameters
::
getValue
(
argc
,
argv
,
"-h"
,
4
);
...
...
@@ -296,10 +296,10 @@ int main(int argc, char ** argv){
}
});
std
::
cout
<<
"Foces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Fo
r
ces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Potential = "
<<
std
::
setprecision
(
8
)
<<
potential
*
coeff_MD
/
2
<<
std
::
endl
;
std
::
cout
<<
"Energy from file = "
<<
std
::
setprecision
(
8
)
<<
loader
.
getEnergy
()
<<
std
::
endl
;
// std::cout << "Constant
e
DL_POLY: " << coeff_MD << std::endl;
// std::cout << "Constant DL_POLY: " << coeff_MD << std::endl;
}
// -----------------------------------------------------
...
...
Tests/Kernels/testSphericalRotationAlgorithm.cpp
View file @
2562b730
...
...
@@ -40,7 +40,7 @@
/** This program show an example of use of
* the fmm basic algo
* it also check that each
h
particles is little or longer
* it also check that each particles is little or longer
* related that each other
*/
...
...
@@ -147,7 +147,7 @@ int main(int argc, char ** argv){
}
});
std
::
cout
<<
"Foces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Fo
r
ces Sum x = "
<<
fx
<<
" y = "
<<
fy
<<
" z = "
<<
fz
<<
std
::
endl
;
std
::
cout
<<
"Potential = "
<<
potential
<<
std
::
endl
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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