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
0ca11347
Commit
0ca11347
authored
Sep 04, 2014
by
COULAUD Olivier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git+ssh://scm.gforge.inria.fr//gitroot/scalfmm/scalfmm
parents
de9be7c4
15db427b
Changes
35
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
175 additions
and
874 deletions
+175
-874
CMakeLists.txt
CMakeLists.txt
+4
-12
Src/AdaptiveTree/FAdaptChebSymKernel.hpp
Src/AdaptiveTree/FAdaptChebSymKernel.hpp
+1
-1
Src/AdaptiveTree/FAdaptSeqAlgorithm.hpp
Src/AdaptiveTree/FAdaptSeqAlgorithm.hpp
+7
-15
Src/AdaptiveTree/FAdaptUnifKernel.hpp
Src/AdaptiveTree/FAdaptUnifKernel.hpp
+1
-1
Src/Components/FTestKernels.hpp
Src/Components/FTestKernels.hpp
+1
-1
Src/Core/FFmmAlgorithm.hpp
Src/Core/FFmmAlgorithm.hpp
+1
-9
Src/Core/FFmmAlgorithmPeriodic.hpp
Src/Core/FFmmAlgorithmPeriodic.hpp
+1
-9
Src/Core/FFmmAlgorithmSectionTask.hpp
Src/Core/FFmmAlgorithmSectionTask.hpp
+1
-9
Src/Core/FFmmAlgorithmTask.hpp
Src/Core/FFmmAlgorithmTask.hpp
+1
-7
Src/Core/FFmmAlgorithmThread.hpp
Src/Core/FFmmAlgorithmThread.hpp
+1
-7
Src/Core/FFmmAlgorithmThreadProc.hpp
Src/Core/FFmmAlgorithmThreadProc.hpp
+138
-501
Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp
Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp
+1
-1
Src/Core/FFmmAlgorithmThreadTsm.hpp
Src/Core/FFmmAlgorithmThreadTsm.hpp
+1
-10
Src/Core/FFmmAlgorithmTsm.hpp
Src/Core/FFmmAlgorithmTsm.hpp
+1
-6
Src/Files/FMpiTreeBuilder.hpp
Src/Files/FMpiTreeBuilder.hpp
+1
-3
Src/Kernels/Chebyshev/FAbstractChebKernel.hpp
Src/Kernels/Chebyshev/FAbstractChebKernel.hpp
+1
-1
Src/Kernels/Chebyshev/FChebFlopsSymKernel.hpp
Src/Kernels/Chebyshev/FChebFlopsSymKernel.hpp
+1
-1
Src/Kernels/Chebyshev/FChebKernel.hpp
Src/Kernels/Chebyshev/FChebKernel.hpp
+1
-1
Src/Kernels/Chebyshev/FChebSymKernel.hpp
Src/Kernels/Chebyshev/FChebSymKernel.hpp
+1
-1
Src/Kernels/Chebyshev/FChebSymTensorialKernel.hpp
Src/Kernels/Chebyshev/FChebSymTensorialKernel.hpp
+1
-1
Src/Kernels/Chebyshev/FChebTensorialKernel.hpp
Src/Kernels/Chebyshev/FChebTensorialKernel.hpp
+1
-1
Src/Kernels/Spherical/FAbstractSphericalKernel.hpp
Src/Kernels/Spherical/FAbstractSphericalKernel.hpp
+1
-1
Src/Kernels/Uniform/FAbstractUnifKernel.hpp
Src/Kernels/Uniform/FAbstractUnifKernel.hpp
+1
-1
Src/Kernels/Uniform/FUnifDenseKernel.hpp
Src/Kernels/Uniform/FUnifDenseKernel.hpp
+1
-1
Src/Kernels/Uniform/FUnifKernel.hpp
Src/Kernels/Uniform/FUnifKernel.hpp
+1
-1
Src/Kernels/Uniform/FUnifSymKernel.hpp
Src/Kernels/Uniform/FUnifSymKernel.hpp
+1
-1
Src/Kernels/Uniform/FUnifTensorialKernel.hpp
Src/Kernels/Uniform/FUnifTensorialKernel.hpp
+1
-1
Src/ScalFmmConfig.h.cmake
Src/ScalFmmConfig.h.cmake
+0
-8
Src/Utils/FBitonicSort.hpp
Src/Utils/FBitonicSort.hpp
+1
-2
Src/Utils/FQuickSort.hpp
Src/Utils/FQuickSort.hpp
+1
-1
Src/Utils/FTrace.cpp
Src/Utils/FTrace.cpp
+0
-25
Src/Utils/FTrace.hpp
Src/Utils/FTrace.hpp
+0
-230
Tests/Kernels/testSphericalProcAlgorithm.cpp
Tests/Kernels/testSphericalProcAlgorithm.cpp
+0
-1
Tests/noDist/testSphericalBlasBlockProc.cpp
Tests/noDist/testSphericalBlasBlockProc.cpp
+0
-2
Tests/noDist/testSphericalBlasProc.cpp
Tests/noDist/testSphericalBlasProc.cpp
+0
-1
No files found.
CMakeLists.txt
View file @
0ca11347
...
@@ -44,7 +44,6 @@ MESSAGE(STATUS " CXX ${CMAKE_CXX_COMPILER_ID}" )
...
@@ -44,7 +44,6 @@ MESSAGE(STATUS " CXX ${CMAKE_CXX_COMPILER_ID}" )
# Options
# Options
OPTION
(
ScalFMM_USE_BLAS
"Set to ON to build ScaFMM with BLAS"
OFF
)
OPTION
(
ScalFMM_USE_BLAS
"Set to ON to build ScaFMM with BLAS"
OFF
)
OPTION
(
ScalFMM_USE_FFT
"Set to ON to build ScaFMM with FFTW"
OFF
)
OPTION
(
ScalFMM_USE_FFT
"Set to ON to build ScaFMM with FFTW"
OFF
)
OPTION
(
ScalFMM_USE_TRACE
"Set to ON to print trace or use itac trace"
OFF
)
OPTION
(
ScalFMM_BUILD_TESTS
"Set to ON to build functionalities Tests"
OFF
)
OPTION
(
ScalFMM_BUILD_TESTS
"Set to ON to build functionalities Tests"
OFF
)
OPTION
(
ScalFMM_BUILD_UTESTS
"Set to ON to build UTests"
OFF
)
OPTION
(
ScalFMM_BUILD_UTESTS
"Set to ON to build UTests"
OFF
)
OPTION
(
ScalFMM_BUILD_DEBUG
"Set to ON to build in Debug"
OFF
)
OPTION
(
ScalFMM_BUILD_DEBUG
"Set to ON to build in Debug"
OFF
)
...
@@ -95,7 +94,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
...
@@ -95,7 +94,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
#-Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wall -Wnosign-conversion ")
#-Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wall -Wnosign-conversion ")
else
()
else
()
# NOT INTEL
# NOT INTEL
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-Wzero-as-null-pointer-constant"
)
if
(
NOT
${
ScalFMM_USE_MPI
}
)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-Wzero-as-null-pointer-constant"
)
endif
()
SET
(
AVX_FLAGS
"-mtune=native -march=native"
)
SET
(
AVX_FLAGS
"-mtune=native -march=native"
)
IF
(
APPLE
)
IF
(
APPLE
)
SET
(
SSE_FLAGS
"-msse3 -mfpmath=sse"
)
# -mtune=native -march=native
SET
(
SSE_FLAGS
"-msse3 -mfpmath=sse"
)
# -mtune=native -march=native
...
@@ -160,16 +161,7 @@ if( ScalFMM_ATTACHE_SOURCE )
...
@@ -160,16 +161,7 @@ if( ScalFMM_ATTACHE_SOURCE )
# ADD_DEFINITIONS(-g)
# ADD_DEFINITIONS(-g)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-g"
)
SET
(
ScaLFMM_CXX_FLAGS
"
${
ScaLFMM_CXX_FLAGS
}
-g"
)
endif
(
ScalFMM_ATTACHE_SOURCE
)
endif
(
ScalFMM_ATTACHE_SOURCE
)
##############################################################################
# Trace #
##############################################################################
MESSAGE
(
STATUS
"ScalFMM_USE_TRACE =
${
ScalFMM_USE_TRACE
}
"
)
if
(
ScalFMM_USE_TRACE
)
OPTION
(
ScalFMM_USE_ITAC
"Set to ON to use itac trace"
OFF
)
if
(
ScaLFMM_USE_ITAC
)
ADD_DEFINITIONS
(
-I$VT_ROOT/include -trace
)
endif
()
endif
()
##############################################################################
##############################################################################
# Blas option #
# Blas option #
##############################################################################
##############################################################################
...
...
Src/AdaptiveTree/FAdaptChebSymKernel.hpp
View file @
0ca11347
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
// ===================================================================================
// ===================================================================================
#include "Utils/FGlobal.hpp"
#include "Utils/FGlobal.hpp"
#include "Utils/FTrace.hpp"
#include "Utils/FPoint.hpp"
#include "Utils/FPoint.hpp"
#include "Adaptative/FAdaptiveCell.hpp"
#include "Adaptative/FAdaptiveCell.hpp"
...
...
Src/AdaptiveTree/FAdaptSeqAlgorithm.hpp
View file @
0ca11347
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "Utils/FGlobal.hpp"
#include "Utils/FGlobal.hpp"
#include "Utils/FAssert.hpp"
#include "Utils/FAssert.hpp"
#include "Utils/FLog.hpp"
#include "Utils/FLog.hpp"
#include "Utils/FTrace.hpp"
#include "Utils/FTic.hpp"
#include "Utils/FTic.hpp"
#include "Containers/FOctree.hpp"
#include "Containers/FOctree.hpp"
...
@@ -70,9 +70,7 @@ public:
...
@@ -70,9 +70,7 @@ public:
* To execute the fmm algorithm
* To execute the fmm algorithm
* Call this function to run the complete algorithm
* Call this function to run the complete algorithm
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
...
@@ -90,8 +88,7 @@ private:
...
@@ -90,8 +88,7 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -125,8 +122,7 @@ private:
...
@@ -125,8 +122,7 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -205,9 +201,7 @@ private:
...
@@ -205,9 +201,7 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** M2L */
/** M2L */
void
transferPass
(){
void
transferPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -299,8 +293,7 @@ private:
...
@@ -299,8 +293,7 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** L2L */
/** L2L */
void
downardPass
(){
void
downardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -360,8 +353,7 @@ private:
...
@@ -360,8 +353,7 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** P2P */
/** P2P */
void
directPass
(){
void
directPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounterL2P
);
FLOG
(
FTic
computationCounterL2P
);
...
...
Src/AdaptiveTree/FAdaptUnifKernel.hpp
View file @
0ca11347
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
// ===================================================================================
// ===================================================================================
#include "Utils/FGlobal.hpp"
#include "Utils/FGlobal.hpp"
#include "Utils/FTrace.hpp"
#include "Utils/FPoint.hpp"
#include "Utils/FPoint.hpp"
#include "Adaptative/FAdaptiveCell.hpp"
#include "Adaptative/FAdaptiveCell.hpp"
...
...
Src/Components/FTestKernels.hpp
View file @
0ca11347
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
#include "FAbstractKernels.hpp"
#include "FAbstractKernels.hpp"
#include "../Containers/FOctree.hpp"
#include "../Containers/FOctree.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FTrace.hpp"
/**
/**
...
...
Src/Core/FFmmAlgorithm.hpp
View file @
0ca11347
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "../Utils/FGlobal.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FTic.hpp"
#include "../Containers/FOctree.hpp"
#include "../Containers/FOctree.hpp"
...
@@ -71,8 +71,6 @@ public:
...
@@ -71,8 +71,6 @@ public:
* Call this function to run the complete algorithm
* Call this function to run the complete algorithm
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
if
(
operationsToProceed
&
FFmmM2M
)
upwardPass
();
...
@@ -91,7 +89,6 @@ private:
...
@@ -91,7 +89,6 @@ private:
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -118,7 +115,6 @@ private:
...
@@ -118,7 +115,6 @@ private:
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -160,8 +156,6 @@ private:
...
@@ -160,8 +156,6 @@ private:
/** M2L */
/** M2L */
void
transferPass
(){
void
transferPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -204,7 +198,6 @@ private:
...
@@ -204,7 +198,6 @@ private:
/** L2L */
/** L2L */
void
downardPass
(){
void
downardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -244,7 +237,6 @@ private:
...
@@ -244,7 +237,6 @@ private:
/** P2P */
/** P2P */
void
directPass
(){
void
directPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounterL2P
);
FLOG
(
FTic
computationCounterL2P
);
...
...
Src/Core/FFmmAlgorithmPeriodic.hpp
View file @
0ca11347
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include "../Utils/FGlobalPeriodic.hpp"
#include "../Utils/FGlobalPeriodic.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FMemUtils.hpp"
#include "../Utils/FMemUtils.hpp"
...
@@ -69,7 +69,6 @@ public:
...
@@ -69,7 +69,6 @@ public:
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FAssertLF
(
kernels
,
"kernels cannot be null"
);
FAssertLF
(
kernels
,
"kernels cannot be null"
);
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
...
@@ -93,7 +92,6 @@ public:
...
@@ -93,7 +92,6 @@ public:
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -120,7 +118,6 @@ public:
...
@@ -120,7 +118,6 @@ public:
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -161,8 +158,6 @@ public:
...
@@ -161,8 +158,6 @@ public:
/** M2L L2L */
/** M2L L2L */
void
transferPass
(){
void
transferPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -201,7 +196,6 @@ public:
...
@@ -201,7 +196,6 @@ public:
void
downardPass
(){
// second L2L
void
downardPass
(){
// second L2L
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -239,7 +233,6 @@ public:
...
@@ -239,7 +233,6 @@ public:
/** P2P */
/** P2P */
void
directPass
(){
void
directPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounterL2P
);
FLOG
(
FTic
computationCounterL2P
);
...
@@ -513,7 +506,6 @@ public:
...
@@ -513,7 +506,6 @@ public:
* Finally the L2L
* Finally the L2L
*/
*/
void
processPeriodicLevels
(){
void
processPeriodicLevels
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Periodic Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Periodic Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
...
Src/Core/FFmmAlgorithmSectionTask.hpp
View file @
0ca11347
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "../Utils/FGlobal.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FTic.hpp"
#include "../Containers/FOctree.hpp"
#include "../Containers/FOctree.hpp"
...
@@ -84,7 +84,6 @@ public:
...
@@ -84,7 +84,6 @@ public:
* Call this function to run the complete algorithm
* Call this function to run the complete algorithm
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
#pragma omp parallel
#pragma omp parallel
{
{
...
@@ -119,7 +118,6 @@ private:
...
@@ -119,7 +118,6 @@ private:
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -148,7 +146,6 @@ private:
...
@@ -148,7 +146,6 @@ private:
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -189,8 +186,6 @@ private:
...
@@ -189,8 +186,6 @@ private:
/** M2L L2L */
/** M2L L2L */
void
transferPass
(){
void
transferPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -241,7 +236,6 @@ private:
...
@@ -241,7 +236,6 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
void
downardPass
(){
// second L2L
void
downardPass
(){
// second L2L
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -280,7 +274,6 @@ private:
...
@@ -280,7 +274,6 @@ private:
/** P2P */
/** P2P */
void
directPass
(){
void
directPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
@@ -330,7 +323,6 @@ private:
...
@@ -330,7 +323,6 @@ private:
}
}
void
L2PPass
(){
void
L2PPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start L2P Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start L2P Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
...
Src/Core/FFmmAlgorithmTask.hpp
View file @
0ca11347
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include "../Utils/FGlobal.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FTic.hpp"
#include "../Containers/FOctree.hpp"
#include "../Containers/FOctree.hpp"
...
@@ -84,7 +84,6 @@ public:
...
@@ -84,7 +84,6 @@ public:
* Call this function to run the complete algorithm
* Call this function to run the complete algorithm
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
if
(
operationsToProceed
&
FFmmP2M
)
bottomPass
();
...
@@ -104,7 +103,6 @@ private:
...
@@ -104,7 +103,6 @@ private:
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -138,7 +136,6 @@ private:
...
@@ -138,7 +136,6 @@ private:
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Upward Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -185,7 +182,6 @@ private:
...
@@ -185,7 +182,6 @@ private:
/** M2L L2L */
/** M2L L2L */
void
transferPass
(){
void
transferPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (M2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -241,7 +237,6 @@ private:
...
@@ -241,7 +237,6 @@ private:
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
void
downardPass
(){
// second L2L
void
downardPass
(){
// second L2L
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Downward Pass (L2L)
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -286,7 +281,6 @@ private:
...
@@ -286,7 +281,6 @@ private:
/** P2P */
/** P2P */
void
directPass
(){
void
directPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Direct Pass
\n
"
).
write
(
FLog
::
Flush
);
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
computationCounter
);
FLOG
(
FTic
computationCounter
);
...
...
Src/Core/FFmmAlgorithmThread.hpp
View file @
0ca11347
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include "../Utils/FAssert.hpp"
#include "../Utils/FAssert.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FTic.hpp"
#include "../Utils/FGlobal.hpp"
#include "../Utils/FGlobal.hpp"
...
@@ -92,7 +92,6 @@ public:
...
@@ -92,7 +92,6 @@ public:
* Call this function to run the complete algorithm
* Call this function to run the complete algorithm
*/
*/
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
void
execute
(
const
unsigned
operationsToProceed
=
FFmmNearAndFarFields
){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
for
(
int
idxShape
=
0
;
idxShape
<
SizeShape
;
++
idxShape
){
for
(
int
idxShape
=
0
;
idxShape
<
SizeShape
;
++
idxShape
){
this
->
shapeLeaf
[
idxShape
]
=
0
;
this
->
shapeLeaf
[
idxShape
]
=
0
;
...
@@ -132,7 +131,6 @@ private:
...
@@ -132,7 +131,6 @@ private:
/** P2M */
/** P2M */
void
bottomPass
(){
void
bottomPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FLog
::
Controller
.
write
(
"
\t
Start Bottom Pass
\n
"
).
write
(
FLog
::
Flush
)
);
FLOG
(
FTic
counterTime
);
FLOG
(
FTic
counterTime
);
...
@@ -169,7 +167,6 @@ private:
...
@@ -169,7 +167,6 @@ private:
/** M2M */
/** M2M */
void
upwardPass
(){
void
upwardPass
(){
FTRACE
(
FTrace
::
FFunction
functionTrace
(
__FUNCTION__
,
"Fmm"
,
__FILE__
,
__LINE__
)
);