From 61fcc94bb3fdd882bdf68762a296949562097af5 Mon Sep 17 00:00:00 2001 From: berenger-bramas Date: Wed, 4 Jan 2012 16:39:23 +0000 Subject: [PATCH] Change the comment in the files. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@276 2616d619-271b-44dc-8df4-d4a8f33a7222 --- CMakeLists.txt | 7 +++++-- Src/Components/FAbstractCell.hpp | 4 ++-- Src/Components/FAbstractKernels.hpp | 4 ++-- Src/Components/FAbstractLeaf.hpp | 4 ++-- Src/Components/FAbstractParticle.hpp | 4 ++-- Src/Components/FBasicCell.hpp | 4 ++-- Src/Components/FBasicKernels.hpp | 4 ++-- Src/Components/FBasicParticle.hpp | 4 ++-- Src/Components/FFmaParticle.hpp | 4 ++-- Src/Components/FSimpleLeaf.hpp | 4 ++-- Src/Components/FTestCell.hpp | 4 ++-- Src/Components/FTestKernels.hpp | 4 ++-- Src/Components/FTestParticle.hpp | 4 ++-- Src/Components/FTypedLeaf.hpp | 4 ++-- Src/Containers/FBoolArray.hpp | 4 ++-- Src/Containers/FList.hpp | 4 ++-- Src/Containers/FOctree.hpp | 4 ++-- Src/Containers/FSubOctree.hpp | 17 ++++++++++------- Src/Containers/FTreeCoordinate.hpp | 4 ++-- Src/Containers/FVector.hpp | 2 +- Src/Core/FFmmAlgorithm.hpp | 4 ++-- Src/Core/FFmmAlgorithmPeriodic.hpp | 2 +- Src/Core/FFmmAlgorithmTask.hpp | 4 ++-- Src/Core/FFmmAlgorithmThread.hpp | 4 ++-- Src/Core/FFmmAlgorithmThreadProc.hpp | 4 ++-- Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp | 4 ++-- Src/Core/FFmmAlgorithmThreadTsm.hpp | 4 ++-- Src/Core/FFmmAlgorithmTsm.hpp | 4 ++-- Src/Extensions/FExtendCellType.hpp | 4 ++-- Src/Extensions/FExtendCoordinate.hpp | 4 ++-- Src/Extensions/FExtendForces.hpp | 4 ++-- Src/Extensions/FExtendMortonIndex.hpp | 4 ++-- Src/Extensions/FExtendParticleType.hpp | 4 ++-- Src/Extensions/FExtendPhysicalValue.hpp | 4 ++-- Src/Extensions/FExtendPosition.hpp | 4 ++-- Src/Extensions/FExtendPotential.hpp | 4 ++-- Src/Files/FAbstractLoader.hpp | 4 ++-- Src/Files/FBasicLoader.hpp | 4 ++-- Src/Files/FFmaBinLoader.hpp | 4 ++-- Src/Files/FFmaLoader.hpp | 4 ++-- Src/Files/FFmaScanfLoader.hpp | 4 ++-- Src/Files/FFmaTsmLoader.hpp | 4 ++-- Src/Files/FHLoader.hpp | 4 ++-- Src/Files/FMpiFmaLoader.hpp | 4 ++-- Src/Files/FTreeIO.hpp | 2 +- Src/Fmb/FExtendFmbCell.hpp | 4 ++-- Src/Fmb/FFmbKernels.hpp | 4 ++-- Src/Fmb/FFmbKernelsBlas.hpp | 4 ++-- Src/Fmb/FFmbKernelsBlockBlas.hpp | 4 ++-- Src/Utils/F3DPosition.hpp | 4 ++-- Src/Utils/FAbstractSendable.hpp | 4 ++-- Src/Utils/FAssertable.hpp | 4 ++-- Src/Utils/FComplexe.hpp | 4 ++-- Src/Utils/FDebug.hpp | 4 ++-- Src/Utils/FMath.hpp | 4 ++-- Src/Utils/FMemStats.h | 8 ++++++-- Src/Utils/FMpi.hpp | 4 ++-- Src/Utils/FTrace.hpp | 4 ++-- Tests/testDebug.cpp | 4 ++-- Tests/testFmbAlgorithm.cpp | 4 ++-- Tests/testFmbAlgorithmProc.cpp | 4 ++-- Tests/testFmbBlasAlgorithm.cpp | 4 ++-- Tests/testFmbTsmAlgorithm.cpp | 4 ++-- Tests/testFmbTsmNoTsm.cpp | 4 ++-- Tests/testFmmAlgorithm.cpp | 4 ++-- Tests/testFmmAlgorithmPeriodic.cpp | 4 ++-- Tests/testFmmAlgorithmProc.cpp | 4 ++-- Tests/testFmmAlgorithmProcPeriodic.cpp | 4 ++-- Tests/testFmmAlgorithmTsm.cpp | 4 ++-- Tests/testFmmDemonstration.cpp | 4 ++-- Tests/testLoader.cpp | 4 ++-- Tests/testLoaderCreate.cpp | 4 ++-- Tests/testLoaderFMA.cpp | 4 ++-- Tests/testLoaderFMABinCreate.cpp | 4 ++-- Tests/testLoaderFMACreate.cpp | 4 ++-- Tests/testLoaderFMACreateSphere.cpp | 4 ++-- Tests/testLoaderFMATsm.cpp | 4 ++-- Tests/testLoaderFMATsmCreate.cpp | 4 ++-- Tests/testMemStats.cpp | 4 ++-- Tests/testMortonIndex.cpp | 4 ++-- Tests/testOctree.cpp | 4 ++-- Tests/testOctreeIter.cpp | 4 ++-- Tests/testOctreePrintMorton.cpp | 4 ++-- Tests/testOctreeRearrange.cpp | 4 ++-- Tests/testOctreeRearrangeProc.cpp | 4 ++-- Tests/testStatsTree.cpp | 4 ++-- Tests/testTreeIO.cpp | 4 ++-- UTests/FUTester.hpp | 2 +- 88 files changed, 187 insertions(+), 177 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bb1b8f09..cf1e1754 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ OPTION( SCALFMM_USE_TRACE "Set to ON to print trace or use itac trace" OFF ) OPTION( SCALFMM_BUILD_TESTS "Set to ON to build fonctionnalities Tests" ON ) OPTION( SCALFMM_BUILD_UTESTS "Set to ON to build UTests" ON ) OPTION( SCALFMM_BUILD_DEBUG "Set to ON to build in Debug" OFF ) -OPTION( SCALFMM_USE_MEM_STATS "Set to ON to profile memory" ON ) +OPTION( SCALFMM_USE_MEM_STATS "Set to ON to profile memory" OFF ) # MPI option has to be set before project @@ -28,6 +28,9 @@ project(scalfmm CXX) MESSAGE( STATUS "SCALFMM_BUILD_DEBUG = ${SCALFMM_BUILD_DEBUG}" ) if( SCALFMM_BUILD_DEBUG ) SET(CMAKE_BUILD_TYPE Debug) + ADD_DEFINITIONS(-O0) +else() + ADD_DEFINITIONS(-O2) endif() # Trace @@ -51,7 +54,7 @@ if( SCALFMM_USE_CBLAS ) endif() # Compile option -ADD_DEFINITIONS(-O2 -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wconversion) +ADD_DEFINITIONS(-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wconversion) CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/Src/ScalFmmConfig.h.cmake ${CMAKE_BINARY_DIR}/Src/ScalFmmConfig.h ) diff --git a/Src/Components/FAbstractCell.hpp b/Src/Components/FAbstractCell.hpp index f3f57fa1..51fadf0e 100644 --- a/Src/Components/FAbstractCell.hpp +++ b/Src/Components/FAbstractCell.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTCELL_HPP #define FABSTRACTCELL_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -83,4 +83,4 @@ public: #endif //FABSTRACTCELL_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FAbstractKernels.hpp b/Src/Components/FAbstractKernels.hpp index 2992f4c9..1bb619b4 100644 --- a/Src/Components/FAbstractKernels.hpp +++ b/Src/Components/FAbstractKernels.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTKERNELS_HPP #define FABSTRACTKERNELS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -97,4 +97,4 @@ public: #endif //FABSTRACTKERNELS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FAbstractLeaf.hpp b/Src/Components/FAbstractLeaf.hpp index a51657cc..27b7a6a3 100644 --- a/Src/Components/FAbstractLeaf.hpp +++ b/Src/Components/FAbstractLeaf.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTLEAF_HPP #define FABSTRACTLEAF_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] /** @@ -47,4 +47,4 @@ public: #endif //FABSTRACTLEAF_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FAbstractParticle.hpp b/Src/Components/FAbstractParticle.hpp index 9e7fb8c0..5f7e8f4f 100644 --- a/Src/Components/FAbstractParticle.hpp +++ b/Src/Components/FAbstractParticle.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTPARTICLE_HPP #define FABSTRACTPARTICLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] /* forward declaration to avoid include */ class F3DPosition; @@ -38,4 +38,4 @@ public: #endif //FABSTRACTPARTICLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FBasicCell.hpp b/Src/Components/FBasicCell.hpp index 4da9004b..941e8a87 100644 --- a/Src/Components/FBasicCell.hpp +++ b/Src/Components/FBasicCell.hpp @@ -1,6 +1,6 @@ #ifndef FBASICCELL_HPP #define FBASICCELL_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Extensions/FExtendPosition.hpp" #include "../Extensions/FExtendMortonIndex.hpp" @@ -27,4 +27,4 @@ public: #endif //FBASICCELL_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FBasicKernels.hpp b/Src/Components/FBasicKernels.hpp index cfbed0cc..87fd3c3f 100644 --- a/Src/Components/FBasicKernels.hpp +++ b/Src/Components/FBasicKernels.hpp @@ -1,6 +1,6 @@ #ifndef FBASICKERNELS_HPP #define FBASICKERNELS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FAbstractKernels.hpp" @@ -65,4 +65,4 @@ public: #endif //FBASICKERNELS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FBasicParticle.hpp b/Src/Components/FBasicParticle.hpp index bc076c14..5b173647 100644 --- a/Src/Components/FBasicParticle.hpp +++ b/Src/Components/FBasicParticle.hpp @@ -1,6 +1,6 @@ #ifndef FBASICPARTICLE_HPP #define FBASICPARTICLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Extensions/FExtendPosition.hpp" @@ -25,4 +25,4 @@ public: #endif //FBASICPARTICLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FFmaParticle.hpp b/Src/Components/FFmaParticle.hpp index 9ddb8f07..438cbc10 100644 --- a/Src/Components/FFmaParticle.hpp +++ b/Src/Components/FFmaParticle.hpp @@ -1,6 +1,6 @@ #ifndef FFmaPARTICLE_HPP #define FFmaPARTICLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FBasicParticle.hpp" #include "../Extensions/FExtendPhysicalValue.hpp" @@ -23,4 +23,4 @@ public: #endif //FFmaPARTICLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FSimpleLeaf.hpp b/Src/Components/FSimpleLeaf.hpp index 6f27ac4e..82d0f45a 100644 --- a/Src/Components/FSimpleLeaf.hpp +++ b/Src/Components/FSimpleLeaf.hpp @@ -1,6 +1,6 @@ #ifndef FSIMPLELEAF_HPP #define FSIMPLELEAF_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FAbstractLeaf.hpp" @@ -50,4 +50,4 @@ public: #endif //FSIMPLELEAF_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FTestCell.hpp b/Src/Components/FTestCell.hpp index 2f7bbcca..708182e1 100644 --- a/Src/Components/FTestCell.hpp +++ b/Src/Components/FTestCell.hpp @@ -1,6 +1,6 @@ #ifndef FTESTCELL_HPP #define FTESTCELL_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FBasicCell.hpp" @@ -45,4 +45,4 @@ public: #endif //FTESTCELL_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FTestKernels.hpp b/Src/Components/FTestKernels.hpp index dfc1aef1..74e65d4d 100644 --- a/Src/Components/FTestKernels.hpp +++ b/Src/Components/FTestKernels.hpp @@ -1,6 +1,6 @@ #ifndef FTESTKERNELS_HPP #define FTESTKERNELS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -194,4 +194,4 @@ void ValidateFMMAlgo(OctreeClass* const tree){ #endif //FTESTKERNELS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FTestParticle.hpp b/Src/Components/FTestParticle.hpp index 0d301d4f..a3d5e759 100644 --- a/Src/Components/FTestParticle.hpp +++ b/Src/Components/FTestParticle.hpp @@ -1,6 +1,6 @@ #ifndef FTESTPARTICLE_HPP #define FTESTPARTICLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FBasicParticle.hpp" @@ -38,4 +38,4 @@ public: #endif //FTESTPARTICLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Components/FTypedLeaf.hpp b/Src/Components/FTypedLeaf.hpp index 0d708d0e..47249c96 100644 --- a/Src/Components/FTypedLeaf.hpp +++ b/Src/Components/FTypedLeaf.hpp @@ -1,6 +1,6 @@ #ifndef FTYPEDLEAF_HPP #define FTYPEDLEAF_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "FAbstractLeaf.hpp" @@ -54,4 +54,4 @@ public: #endif //FTYPEDLEAF_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FBoolArray.hpp b/Src/Containers/FBoolArray.hpp index 2942698e..aeec9251 100644 --- a/Src/Containers/FBoolArray.hpp +++ b/Src/Containers/FBoolArray.hpp @@ -1,6 +1,6 @@ #ifndef FBOOLARRAY_HPP #define FBOOLARRAY_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] // To get memcpy #include @@ -102,4 +102,4 @@ public : #endif //FBOOLARRAY_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FList.hpp b/Src/Containers/FList.hpp index c187cf57..5a3c166e 100644 --- a/Src/Containers/FList.hpp +++ b/Src/Containers/FList.hpp @@ -1,6 +1,6 @@ #ifndef FLIST_HPP #define FLIST_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -284,4 +284,4 @@ public: }; #endif //FLIST_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FOctree.hpp b/Src/Containers/FOctree.hpp index b490b735..012dfb63 100644 --- a/Src/Containers/FOctree.hpp +++ b/Src/Containers/FOctree.hpp @@ -1,6 +1,6 @@ #ifndef FOCTREE_HPP #define FOCTREE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FSubOctree.hpp" @@ -1005,4 +1005,4 @@ public: }; #endif //FOCTREE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FSubOctree.hpp b/Src/Containers/FSubOctree.hpp index d47976b5..989ab476 100644 --- a/Src/Containers/FSubOctree.hpp +++ b/Src/Containers/FSubOctree.hpp @@ -1,6 +1,6 @@ #ifndef FSUBOCTREE_HPP #define FSUBOCTREE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/F3DPosition.hpp" @@ -199,16 +199,19 @@ public: * Delete cells arrays and allocated cells */ virtual ~FAbstractSubOctree(){ - long cellsAtlevel = 8; - for( int indexLevel = 0 ; indexLevel < this->subOctreeHeight ; ++indexLevel ){ - for( int indexCells = 0 ; indexCells < cellsAtlevel ; ++indexCells ){ + long mostRight = rightLeafIndex; + long mostLeft = leftLeafIndex; + + for( int indexLevel = this->subOctreeHeight - 1 ; indexLevel >= 0 ; --indexLevel ){ + for( long indexCells = mostLeft ; indexCells <= mostRight ; ++indexCells ){ if(this->cells[indexLevel][indexCells]){ - delete this->cells[indexLevel][indexCells]; + //delete this->cells[indexLevel][indexCells]; } } delete [] this->cells[indexLevel]; - cellsAtlevel <<= 3; // => * 8 >> 8^indexLevel + mostLeft >>= 3; + mostRight >>= 3; } delete [] this->cells; @@ -561,4 +564,4 @@ public: #endif //FSUBOCTREE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FTreeCoordinate.hpp b/Src/Containers/FTreeCoordinate.hpp index 62f19c93..261c8afe 100644 --- a/Src/Containers/FTreeCoordinate.hpp +++ b/Src/Containers/FTreeCoordinate.hpp @@ -1,6 +1,6 @@ #ifndef FTREECOORDINATE_HPP #define FTREECOORDINATE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -194,4 +194,4 @@ public: #endif //FTREECOORDINATE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Containers/FVector.hpp b/Src/Containers/FVector.hpp index 5a5ee1d8..4ef4a217 100644 --- a/Src/Containers/FVector.hpp +++ b/Src/Containers/FVector.hpp @@ -1,6 +1,6 @@ #ifndef FVECTOR_HPP #define FVECTOR_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" diff --git a/Src/Core/FFmmAlgorithm.hpp b/Src/Core/FFmmAlgorithm.hpp index f48a7b8d..f03447e4 100644 --- a/Src/Core/FFmmAlgorithm.hpp +++ b/Src/Core/FFmmAlgorithm.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHM_HPP #define FFMMALGORITHM_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/FAssertable.hpp" @@ -243,4 +243,4 @@ private: #endif //FFMMALGORITHM_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmPeriodic.hpp b/Src/Core/FFmmAlgorithmPeriodic.hpp index d69804c0..5ef71839 100644 --- a/Src/Core/FFmmAlgorithmPeriodic.hpp +++ b/Src/Core/FFmmAlgorithmPeriodic.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMPERIODIC_HPP #define FFMMALGORITHMPERIODIC_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/FAssertable.hpp" diff --git a/Src/Core/FFmmAlgorithmTask.hpp b/Src/Core/FFmmAlgorithmTask.hpp index a5cbd952..e51710d1 100644 --- a/Src/Core/FFmmAlgorithmTask.hpp +++ b/Src/Core/FFmmAlgorithmTask.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMTASK_HPP #define FFMMALGORITHMTASK_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/FAssertable.hpp" @@ -329,4 +329,4 @@ private: #endif //FFMMALGORITHMTASK_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmThread.hpp b/Src/Core/FFmmAlgorithmThread.hpp index dbfa5825..8cf3f8a6 100644 --- a/Src/Core/FFmmAlgorithmThread.hpp +++ b/Src/Core/FFmmAlgorithmThread.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMTHREAD_HPP #define FFMMALGORITHMTHREAD_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "../Utils/FDebug.hpp" @@ -400,4 +400,4 @@ private: #endif //FFMMALGORITHMTHREAD_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmThreadProc.hpp b/Src/Core/FFmmAlgorithmThreadProc.hpp index 83c86a41..1dc99669 100644 --- a/Src/Core/FFmmAlgorithmThreadProc.hpp +++ b/Src/Core/FFmmAlgorithmThreadProc.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMTHREADPROC_HPP #define FFMMALGORITHMTHREADPROC_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "../Utils/FDebug.hpp" @@ -1311,4 +1311,4 @@ private: #endif //FFMMALGORITHMTHREAD_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp b/Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp index ab064a08..aa69fb6a 100644 --- a/Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp +++ b/Src/Core/FFmmAlgorithmThreadProcPeriodic.hpp @@ -1,6 +1,6 @@ #ifndef FFmmAlgorithmThreadProcPeriodicPERIODIC_HPP #define FFmmAlgorithmThreadProcPeriodicPERIODIC_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "../Utils/FDebug.hpp" @@ -1499,4 +1499,4 @@ private: #endif //FFMMALGORITHMTHREAD_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmThreadTsm.hpp b/Src/Core/FFmmAlgorithmThreadTsm.hpp index 183cb117..e0d88c1f 100644 --- a/Src/Core/FFmmAlgorithmThreadTsm.hpp +++ b/Src/Core/FFmmAlgorithmThreadTsm.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMTHREADTSM_HPP #define FFMMALGORITHMTHREADTSM_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "../Utils/FDebug.hpp" @@ -353,4 +353,4 @@ public: #endif //FFMMALGORITHMTHREADTSM_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Core/FFmmAlgorithmTsm.hpp b/Src/Core/FFmmAlgorithmTsm.hpp index df92e1cd..5ee1ccd3 100644 --- a/Src/Core/FFmmAlgorithmTsm.hpp +++ b/Src/Core/FFmmAlgorithmTsm.hpp @@ -1,6 +1,6 @@ #ifndef FFMMALGORITHMTSM_HPP #define FFMMALGORITHMTSM_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FAssertable.hpp" #include "../Utils/FDebug.hpp" @@ -282,4 +282,4 @@ public: #endif //FFMMALGORITHMTSM_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendCellType.hpp b/Src/Extensions/FExtendCellType.hpp index 47d5ca65..654f98cc 100644 --- a/Src/Extensions/FExtendCellType.hpp +++ b/Src/Extensions/FExtendCellType.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDCELLTYPE_HPP #define FEXTENDCELLTYPE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] /** @@ -62,4 +62,4 @@ public: #endif //FEXTENDCELLTYPE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendCoordinate.hpp b/Src/Extensions/FExtendCoordinate.hpp index 649a9b02..4dc999f2 100644 --- a/Src/Extensions/FExtendCoordinate.hpp +++ b/Src/Extensions/FExtendCoordinate.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDCOORDINATE_HPP #define FEXTENDCOORDINATE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Containers/FTreeCoordinate.hpp" @@ -53,4 +53,4 @@ public: #endif //FEXTENDCOORDINATE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendForces.hpp b/Src/Extensions/FExtendForces.hpp index 5fa03676..2063407c 100644 --- a/Src/Extensions/FExtendForces.hpp +++ b/Src/Extensions/FExtendForces.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDFORCES_HPP #define FEXTENDFORCES_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/F3DPosition.hpp" @@ -54,4 +54,4 @@ public: #endif //FEXTENDFORCES_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendMortonIndex.hpp b/Src/Extensions/FExtendMortonIndex.hpp index 28808264..486724c8 100644 --- a/Src/Extensions/FExtendMortonIndex.hpp +++ b/Src/Extensions/FExtendMortonIndex.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDMORTONINDEX_HPP #define FEXTENDMORTONINDEX_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Containers/FTreeCoordinate.hpp" @@ -46,4 +46,4 @@ public: #endif //FEXTENDMORTONINDEX_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendParticleType.hpp b/Src/Extensions/FExtendParticleType.hpp index 24f31dc1..6bfd60c8 100644 --- a/Src/Extensions/FExtendParticleType.hpp +++ b/Src/Extensions/FExtendParticleType.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDPARTICLETYPE_HPP #define FEXTENDPARTICLETYPE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] /** @@ -77,4 +77,4 @@ public: #endif //FEXTENDPARTICLETYPE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendPhysicalValue.hpp b/Src/Extensions/FExtendPhysicalValue.hpp index 9207506c..cd7fea26 100644 --- a/Src/Extensions/FExtendPhysicalValue.hpp +++ b/Src/Extensions/FExtendPhysicalValue.hpp @@ -1,6 +1,6 @@ #ifndef FExtendPhysicalValue_HPP #define FExtendPhysicalValue_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -45,4 +45,4 @@ public: #endif //FExtendPhysicalValue_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendPosition.hpp b/Src/Extensions/FExtendPosition.hpp index 74c57d73..5ea5a958 100644 --- a/Src/Extensions/FExtendPosition.hpp +++ b/Src/Extensions/FExtendPosition.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDPOSITION_HPP #define FEXTENDPOSITION_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/F3DPosition.hpp" @@ -53,4 +53,4 @@ public: #endif //FEXTENDPOSITION_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Extensions/FExtendPotential.hpp b/Src/Extensions/FExtendPotential.hpp index 41143571..74b3c3bc 100644 --- a/Src/Extensions/FExtendPotential.hpp +++ b/Src/Extensions/FExtendPotential.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDPOTENTIAL_HPP #define FEXTENDPOTENTIAL_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" @@ -50,4 +50,4 @@ public: #endif //FEXTENDPOTENTIAL_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FAbstractLoader.hpp b/Src/Files/FAbstractLoader.hpp index 4e8e54e4..7c8d8673 100644 --- a/Src/Files/FAbstractLoader.hpp +++ b/Src/Files/FAbstractLoader.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTLOADER_HPP #define FABSTRACTLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" class F3DPosition; @@ -61,4 +61,4 @@ public: #endif //FABSTRACTLOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FBasicLoader.hpp b/Src/Files/FBasicLoader.hpp index 3a9465b5..a9ddc5be 100644 --- a/Src/Files/FBasicLoader.hpp +++ b/Src/Files/FBasicLoader.hpp @@ -1,6 +1,6 @@ #ifndef FBASICLOADER_HPP #define FBASICLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -116,4 +116,4 @@ public: #endif //FBASICLOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FFmaBinLoader.hpp b/Src/Files/FFmaBinLoader.hpp index 8f8447ad..0d2d2ecc 100644 --- a/Src/Files/FFmaBinLoader.hpp +++ b/Src/Files/FFmaBinLoader.hpp @@ -1,6 +1,6 @@ #ifndef FFMABINLOADER_HPP #define FFMABINLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -139,4 +139,4 @@ public: #endif //FFmaBinLoader_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FFmaLoader.hpp b/Src/Files/FFmaLoader.hpp index ca59d390..3a2ca50d 100644 --- a/Src/Files/FFmaLoader.hpp +++ b/Src/Files/FFmaLoader.hpp @@ -1,6 +1,6 @@ #ifndef FFMALOADER_HPP #define FFMALOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -120,4 +120,4 @@ public: #endif //FFmaLoader_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FFmaScanfLoader.hpp b/Src/Files/FFmaScanfLoader.hpp index 4bd9cd6b..9c6264da 100644 --- a/Src/Files/FFmaScanfLoader.hpp +++ b/Src/Files/FFmaScanfLoader.hpp @@ -1,6 +1,6 @@ #ifndef FFMASCANFLOADER_HPP #define FFMASCANFLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -135,4 +135,4 @@ public: #endif //FFMASCANFLOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FFmaTsmLoader.hpp b/Src/Files/FFmaTsmLoader.hpp index 8d151712..2db9f626 100644 --- a/Src/Files/FFmaTsmLoader.hpp +++ b/Src/Files/FFmaTsmLoader.hpp @@ -1,6 +1,6 @@ #ifndef FFMATSMLOADER_HPP #define FFMATSMLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -123,4 +123,4 @@ public: #endif //FFMATSMLOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FHLoader.hpp b/Src/Files/FHLoader.hpp index 80c2c3d9..229cf5d8 100644 --- a/Src/Files/FHLoader.hpp +++ b/Src/Files/FHLoader.hpp @@ -1,6 +1,6 @@ #ifndef FHLOADER_HPP #define FHLOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -140,4 +140,4 @@ public: #endif //FHLOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FMpiFmaLoader.hpp b/Src/Files/FMpiFmaLoader.hpp index d8a0a35c..4c98b03b 100644 --- a/Src/Files/FMpiFmaLoader.hpp +++ b/Src/Files/FMpiFmaLoader.hpp @@ -1,6 +1,6 @@ #ifndef FMPIFMALOADER_HPP #define FMPIFMALOADER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -223,4 +223,4 @@ public: #endif //FMPIFMALOADER_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Files/FTreeIO.hpp b/Src/Files/FTreeIO.hpp index 0ecfde9e..5f94110d 100644 --- a/Src/Files/FTreeIO.hpp +++ b/Src/Files/FTreeIO.hpp @@ -206,7 +206,7 @@ public: } } - delete[] particles; + //delete[] particles; } // Start from leal level - 1 diff --git a/Src/Fmb/FExtendFmbCell.hpp b/Src/Fmb/FExtendFmbCell.hpp index 0eb8af7f..ba335a24 100644 --- a/Src/Fmb/FExtendFmbCell.hpp +++ b/Src/Fmb/FExtendFmbCell.hpp @@ -1,6 +1,6 @@ #ifndef FEXTENDFMBCELL_HPP #define FEXTENDFMBCELL_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -69,4 +69,4 @@ public: #endif //FEXTENDFMBCELL_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Fmb/FFmbKernels.hpp b/Src/Fmb/FFmbKernels.hpp index 2e7baae9..5eed37de 100644 --- a/Src/Fmb/FFmbKernels.hpp +++ b/Src/Fmb/FFmbKernels.hpp @@ -1,6 +1,6 @@ #ifndef FFMBKERNELS_HPP #define FFMBKERNELS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Components/FAbstractKernels.hpp" @@ -1500,4 +1500,4 @@ const FReal FFmbKernels::PiArrayOuter[4 #endif //FFMBKERNELS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Fmb/FFmbKernelsBlas.hpp b/Src/Fmb/FFmbKernelsBlas.hpp index 9dad6dbd..fc4adaa8 100644 --- a/Src/Fmb/FFmbKernelsBlas.hpp +++ b/Src/Fmb/FFmbKernelsBlas.hpp @@ -1,6 +1,6 @@ #ifndef FFMBKERNELSBLAS_HPP #define FFMBKERNELSBLAS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/FBlas.hpp" @@ -1536,4 +1536,4 @@ const FReal FFmbKernelsBlas::PiArrayOute #endif //FFMBKERNELSBLAS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Fmb/FFmbKernelsBlockBlas.hpp b/Src/Fmb/FFmbKernelsBlockBlas.hpp index 95b821fd..4a0d4a1d 100644 --- a/Src/Fmb/FFmbKernelsBlockBlas.hpp +++ b/Src/Fmb/FFmbKernelsBlockBlas.hpp @@ -1,6 +1,6 @@ #ifndef FFMBKERNELSBLOCKBLAS_HPP #define FFMBKERNELSBLOCKBLAS_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Utils/FGlobal.hpp" #include "../Utils/FBlas.hpp" @@ -1787,4 +1787,4 @@ const FReal FFmbKernelsBlockBlas::PiArra #endif //FFMBKERNELSBLOCKBLAS_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/F3DPosition.hpp b/Src/Utils/F3DPosition.hpp index 8b2426dd..68025296 100644 --- a/Src/Utils/F3DPosition.hpp +++ b/Src/Utils/F3DPosition.hpp @@ -1,6 +1,6 @@ #ifndef F3DPOSITION_HPP #define F3DPOSITION_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] // To get memcpy #include @@ -251,4 +251,4 @@ public: #endif //F3DPOSITION_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FAbstractSendable.hpp b/Src/Utils/FAbstractSendable.hpp index bcccf49e..1728c737 100644 --- a/Src/Utils/FAbstractSendable.hpp +++ b/Src/Utils/FAbstractSendable.hpp @@ -1,6 +1,6 @@ #ifndef FABSTRACTSENDABLE_HPP #define FABSTRACTSENDABLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] /** @@ -24,4 +24,4 @@ protected: #endif //FABSTRACTSENDABLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FAssertable.hpp b/Src/Utils/FAssertable.hpp index 7aba0bce..c3dbf2c7 100644 --- a/Src/Utils/FAssertable.hpp +++ b/Src/Utils/FAssertable.hpp @@ -1,6 +1,6 @@ #ifndef FASSERTABLE_HPP #define FASSERTABLE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -49,4 +49,4 @@ protected: #endif //FASSERTABLE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FComplexe.hpp b/Src/Utils/FComplexe.hpp index 90722566..8f51b90a 100644 --- a/Src/Utils/FComplexe.hpp +++ b/Src/Utils/FComplexe.hpp @@ -1,6 +1,6 @@ #ifndef FCOMPLEXE_HPP #define FCOMPLEXE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FMath.hpp" @@ -149,4 +149,4 @@ inline FComplexe operator*=(const FComplexe& first, const FComplexe& second){ #endif //FCOMPLEXE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FDebug.hpp b/Src/Utils/FDebug.hpp index a9ffbc48..c96664bd 100644 --- a/Src/Utils/FDebug.hpp +++ b/Src/Utils/FDebug.hpp @@ -1,6 +1,6 @@ #ifndef FDEBUG_HPP #define FDEBUG_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FGlobal.hpp" @@ -182,4 +182,4 @@ public: #endif //FDEBUG_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FMath.hpp b/Src/Utils/FMath.hpp index 47dade15..b095358f 100644 --- a/Src/Utils/FMath.hpp +++ b/Src/Utils/FMath.hpp @@ -1,6 +1,6 @@ #ifndef FMATH_HPP #define FMATH_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include "FGlobal.hpp" @@ -126,4 +126,4 @@ struct FMath{ #endif //FMATH_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FMemStats.h b/Src/Utils/FMemStats.h index 1a3fc83b..80c5d878 100644 --- a/Src/Utils/FMemStats.h +++ b/Src/Utils/FMemStats.h @@ -2,11 +2,13 @@ #define FMEMSTATS_H -#include -#include #include +#include #ifdef SCALFMM_USE_MEM_STATS +#include +#include +#warning use meme stats void* operator new(std::size_t n) throw(std::bad_alloc); void* operator new(size_t n, std::nothrow_t const&) throw(); void* operator new[](size_t n) throw(std::bad_alloc); @@ -40,6 +42,7 @@ private: currentAllocated -= size; } +#ifdef SCALFMM_USE_MEM_STATS friend void* operator new(std::size_t n) throw(std::bad_alloc); friend void* operator new(size_t n, std::nothrow_t const&) throw(); friend void* operator new[](size_t n) throw(std::bad_alloc); @@ -48,6 +51,7 @@ private: friend void operator delete(void* p, std::nothrow_t const&) throw(); friend void operator delete[](void* p) throw(); friend void operator delete[](void* p, std::nothrow_t const&) throw(); +#endif public: static FMemStats controler; diff --git a/Src/Utils/FMpi.hpp b/Src/Utils/FMpi.hpp index 304f8206..ba046b9b 100644 --- a/Src/Utils/FMpi.hpp +++ b/Src/Utils/FMpi.hpp @@ -1,6 +1,6 @@ #ifndef FMPI_HPP #define FMPI_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FGlobal.hpp" #include "FMath.hpp" @@ -303,4 +303,4 @@ private: #endif //FMPI_HPP -// [--LICENSE--] +// [--END--] diff --git a/Src/Utils/FTrace.hpp b/Src/Utils/FTrace.hpp index 52d28e1f..af69a650 100644 --- a/Src/Utils/FTrace.hpp +++ b/Src/Utils/FTrace.hpp @@ -1,6 +1,6 @@ #ifndef FTRACE_HPP #define FTRACE_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "FGlobal.hpp" @@ -153,4 +153,4 @@ public: #endif //FTRACE_HPP -// [--LICENSE--] +// [--END--] diff --git a/Tests/testDebug.cpp b/Tests/testDebug.cpp index a02ddb88..c1ad27d9 100644 --- a/Tests/testDebug.cpp +++ b/Tests/testDebug.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Src/Utils/FDebug.hpp" @@ -36,4 +36,4 @@ int main(void){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmbAlgorithm.cpp b/Tests/testFmbAlgorithm.cpp index 68c2786b..8314c547 100644 --- a/Tests/testFmbAlgorithm.cpp +++ b/Tests/testFmbAlgorithm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -131,4 +131,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmbAlgorithmProc.cpp b/Tests/testFmbAlgorithmProc.cpp index 11e7d5e8..90cec26e 100644 --- a/Tests/testFmbAlgorithmProc.cpp +++ b/Tests/testFmbAlgorithmProc.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Src/Utils/FTic.hpp" @@ -342,4 +342,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmbBlasAlgorithm.cpp b/Tests/testFmbBlasAlgorithm.cpp index 5d22b62b..2f98d080 100644 --- a/Tests/testFmbBlasAlgorithm.cpp +++ b/Tests/testFmbBlasAlgorithm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -131,4 +131,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmbTsmAlgorithm.cpp b/Tests/testFmbTsmAlgorithm.cpp index 4bfefe62..24556447 100644 --- a/Tests/testFmbTsmAlgorithm.cpp +++ b/Tests/testFmbTsmAlgorithm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -127,4 +127,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmbTsmNoTsm.cpp b/Tests/testFmbTsmNoTsm.cpp index 2b29a2ad..5463f742 100644 --- a/Tests/testFmbTsmNoTsm.cpp +++ b/Tests/testFmbTsmNoTsm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -181,4 +181,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmAlgorithm.cpp b/Tests/testFmmAlgorithm.cpp index 6dd453e8..98850e71 100644 --- a/Tests/testFmmAlgorithm.cpp +++ b/Tests/testFmmAlgorithm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -109,4 +109,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmAlgorithmPeriodic.cpp b/Tests/testFmmAlgorithmPeriodic.cpp index 722e9e18..a54f6f0e 100644 --- a/Tests/testFmmAlgorithmPeriodic.cpp +++ b/Tests/testFmmAlgorithmPeriodic.cpp @@ -1,5 +1,5 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -264,4 +264,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmAlgorithmProc.cpp b/Tests/testFmmAlgorithmProc.cpp index 222c7f6a..1b888acf 100644 --- a/Tests/testFmmAlgorithmProc.cpp +++ b/Tests/testFmmAlgorithmProc.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include "../Src/Utils/FMpi.hpp" #include "../Src/Utils/FTic.hpp" @@ -440,4 +440,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmAlgorithmProcPeriodic.cpp b/Tests/testFmmAlgorithmProcPeriodic.cpp index 2fdc8885..3d8c75d6 100644 --- a/Tests/testFmmAlgorithmProcPeriodic.cpp +++ b/Tests/testFmmAlgorithmProcPeriodic.cpp @@ -1,5 +1,5 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -315,4 +315,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmAlgorithmTsm.cpp b/Tests/testFmmAlgorithmTsm.cpp index f93626b4..76e1b4e2 100644 --- a/Tests/testFmmAlgorithmTsm.cpp +++ b/Tests/testFmmAlgorithmTsm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -113,4 +113,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testFmmDemonstration.cpp b/Tests/testFmmDemonstration.cpp index 2eb26ff6..8021cc98 100644 --- a/Tests/testFmmDemonstration.cpp +++ b/Tests/testFmmDemonstration.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -205,4 +205,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoader.cpp b/Tests/testLoader.cpp index ea1ecad4..a96af406 100644 --- a/Tests/testLoader.cpp +++ b/Tests/testLoader.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -97,4 +97,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderCreate.cpp b/Tests/testLoaderCreate.cpp index 5b852e58..44af1714 100644 --- a/Tests/testLoaderCreate.cpp +++ b/Tests/testLoaderCreate.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -79,4 +79,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMA.cpp b/Tests/testLoaderFMA.cpp index e51c4490..48690aa8 100644 --- a/Tests/testLoaderFMA.cpp +++ b/Tests/testLoaderFMA.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -95,4 +95,4 @@ int main(int argc, char ** argv ){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMABinCreate.cpp b/Tests/testLoaderFMABinCreate.cpp index b15058a2..aa5c7438 100644 --- a/Tests/testLoaderFMABinCreate.cpp +++ b/Tests/testLoaderFMABinCreate.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -94,4 +94,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMACreate.cpp b/Tests/testLoaderFMACreate.cpp index fecd07eb..979c624d 100644 --- a/Tests/testLoaderFMACreate.cpp +++ b/Tests/testLoaderFMACreate.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -86,4 +86,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMACreateSphere.cpp b/Tests/testLoaderFMACreateSphere.cpp index b343cd8b..9c6cf359 100644 --- a/Tests/testLoaderFMACreateSphere.cpp +++ b/Tests/testLoaderFMACreateSphere.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -91,4 +91,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMATsm.cpp b/Tests/testLoaderFMATsm.cpp index f819e4da..25d8f024 100644 --- a/Tests/testLoaderFMATsm.cpp +++ b/Tests/testLoaderFMATsm.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -90,4 +90,4 @@ int main(int argc, char ** argv ){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testLoaderFMATsmCreate.cpp b/Tests/testLoaderFMATsmCreate.cpp index 332c0d17..2051b75c 100644 --- a/Tests/testLoaderFMATsmCreate.cpp +++ b/Tests/testLoaderFMATsmCreate.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include @@ -83,4 +83,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testMemStats.cpp b/Tests/testMemStats.cpp index 2f740b7a..8ba4f5be 100644 --- a/Tests/testMemStats.cpp +++ b/Tests/testMemStats.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -113,4 +113,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testMortonIndex.cpp b/Tests/testMortonIndex.cpp index 64e553a4..8b147ac4 100644 --- a/Tests/testMortonIndex.cpp +++ b/Tests/testMortonIndex.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -187,4 +187,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testOctree.cpp b/Tests/testOctree.cpp index a6567dd8..433d234c 100644 --- a/Tests/testOctree.cpp +++ b/Tests/testOctree.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -62,4 +62,4 @@ int main(int , char ** ){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testOctreeIter.cpp b/Tests/testOctreeIter.cpp index c45df0db..9d26b411 100644 --- a/Tests/testOctreeIter.cpp +++ b/Tests/testOctreeIter.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -106,4 +106,4 @@ int main(int , char ** ){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testOctreePrintMorton.cpp b/Tests/testOctreePrintMorton.cpp index 1bcf6b9b..059daf9f 100644 --- a/Tests/testOctreePrintMorton.cpp +++ b/Tests/testOctreePrintMorton.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -275,4 +275,4 @@ int main(int , char ** ){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testOctreeRearrange.cpp b/Tests/testOctreeRearrange.cpp index c4ddef6b..17f91a1d 100644 --- a/Tests/testOctreeRearrange.cpp +++ b/Tests/testOctreeRearrange.cpp @@ -1,6 +1,6 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -187,4 +187,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testOctreeRearrangeProc.cpp b/Tests/testOctreeRearrangeProc.cpp index 9639fe7a..d7325317 100644 --- a/Tests/testOctreeRearrangeProc.cpp +++ b/Tests/testOctreeRearrangeProc.cpp @@ -1,6 +1,6 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -209,4 +209,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testStatsTree.cpp b/Tests/testStatsTree.cpp index 6370a359..dfe0a9e2 100644 --- a/Tests/testStatsTree.cpp +++ b/Tests/testStatsTree.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -259,4 +259,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/Tests/testTreeIO.cpp b/Tests/testTreeIO.cpp index c6901b1f..0dd57b30 100644 --- a/Tests/testTreeIO.cpp +++ b/Tests/testTreeIO.cpp @@ -1,4 +1,4 @@ -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include @@ -91,4 +91,4 @@ int main(int argc, char ** argv){ } -// [--LICENSE--] +// [--END--] diff --git a/UTests/FUTester.hpp b/UTests/FUTester.hpp index 4f3b2b1a..25dc53bb 100644 --- a/UTests/FUTester.hpp +++ b/UTests/FUTester.hpp @@ -1,6 +1,6 @@ #ifndef UTESTER_HPP #define UTESTER_HPP -// /!\ Please, you must read the license at the bottom of this page +// [--License--] #include #include -- GitLab