diff --git a/Examples/statisticsOnOctree.cpp b/Examples/statisticsOnOctree.cpp index 352939767f4977c5c5f2ab9f6bfabfdcfe2f87b5..a2c14ef463bf69d7992d8d9ed4fa0789e93ea08c 100755 --- a/Examples/statisticsOnOctree.cpp +++ b/Examples/statisticsOnOctree.cpp @@ -54,12 +54,13 @@ // Simply create particles and try the kernels // -static const FParameterNames LocalOptitionHist = { - {"-histP", "--histogram-stat"} , - "Build the histogram of the particle number per leaf." -}; + int main(int argc, char ** argv){ + const FParameterNames LocalOptitionHist = { + {"-histP", "--histogram-stat"} , + "Build the histogram of the particle number per leaf." + }; FHelpDescribeAndExit(argc, argv, "Driver to obtain statistics on the octree.", FParameterDefinitions::InputFile, FParameterDefinitions::OctreeHeight, diff --git a/Tests/Kernels/testRotationPeriodicBench.cpp b/Tests/Kernels/testRotationPeriodicBench.cpp index a89621059ca1b4c2aa26b79e467abdbe51ddcfa8..23e0bb1c5731c4fe332d106c5ff93c104c01a363 100644 --- a/Tests/Kernels/testRotationPeriodicBench.cpp +++ b/Tests/Kernels/testRotationPeriodicBench.cpp @@ -33,23 +33,23 @@ #include "../../Src/Utils/FMath.hpp" #include "../../Src/Utils/FParameterNames.hpp" -static const FParameterNames LocalOptionMinPer { - {"-min"}, - "The starting periodicity" -}; - -static const FParameterNames LocalOptionMaxPer { - {"-max"}, - "The ending periodicity" -}; - -static const FParameterNames LocalOptionNbPrint { - {"-nbprint"}, - "Number of result to print" -}; int main(int argc, char** argv){ + const FParameterNames LocalOptionMinPer { + {"-min"}, + "The starting periodicity" + }; + + const FParameterNames LocalOptionMaxPer { + {"-max"}, + "The ending periodicity" + }; + + const FParameterNames LocalOptionNbPrint { + {"-nbprint"}, + "Number of result to print" + }; FHelpDescribeAndExit(argc, argv, "Run a Spherical Harmonic (Rotation) FMM kernel in periodic.", FParameterDefinitions::InputFile, FParameterDefinitions::OctreeHeight, diff --git a/Tests/Kernels/testTuneSphericalBlockBlas.cpp b/Tests/Kernels/testTuneSphericalBlockBlas.cpp index 8e3859125f995001a967de500df934fcd3a760df..26cded16207afabac154623a810552da5ed8e836 100755 --- a/Tests/Kernels/testTuneSphericalBlockBlas.cpp +++ b/Tests/Kernels/testTuneSphericalBlockBlas.cpp @@ -47,13 +47,14 @@ /** This program find the best block blas size */ -static const FParameterNames LocalOptionMaxBlockSize { - {"-mbs"}, - "The maximum size of blocks." -}; + // Simply create particles and try the kernels int main(int argc, char ** argv){ + const FParameterNames LocalOptionMaxBlockSize { + {"-mbs"}, + "The maximum size of blocks." + }; FHelpDescribeAndExit(argc, argv, "Test the TSM (target source model) using the Rotation or the Spherical Harmonic Old implementations.", FParameterDefinitions::OctreeHeight,FParameterDefinitions::SHDevelopment, diff --git a/Tests/noDist/compare2Files.cpp b/Tests/noDist/compare2Files.cpp index 8f6bd66b67facec09fd5609122bce9165b44cd86..abc0fe9aeb26cde4e2c1908b57169e5751898625 100644 --- a/Tests/noDist/compare2Files.cpp +++ b/Tests/noDist/compare2Files.cpp @@ -40,12 +40,11 @@ -static const FParameterNames LocalParameterEwald{ - {"-ewaldfile2"}, - "-ewaldfile2 name2 if name2 contains the result done by the ewald method for 1/r kernel" -}; - int main(int argc, char ** argv){ + const FParameterNames LocalParameterEwald{ + {"-ewaldfile2"}, + "-ewaldfile2 name2 if name2 contains the result done by the ewald method for 1/r kernel" + }; FHelpDescribeAndExit(argc, argv, "Driver to change the format of the input file.", FParameterDefinitions::InputFileOne, FParameterDefinitions::InputFileTwow, diff --git a/Tests/noDist/testBlockedTree.cpp b/Tests/noDist/testBlockedTree.cpp index 8a397c44edc687ca4d9f79bdf12a7378eb1adb99..9b67cefb033315c71e943c96bfd13bb02b56d2ad 100644 --- a/Tests/noDist/testBlockedTree.cpp +++ b/Tests/noDist/testBlockedTree.cpp @@ -28,12 +28,11 @@ #include "../../Src/Utils/FParameterNames.hpp" -static const FParameterNames LocalOptionBlocSize { - {"-bs"}, - "The size of the block of the blocked tree" -}; - int main(int argc, char* argv[]){ + const FParameterNames LocalOptionBlocSize { + {"-bs"}, + "The size of the block of the blocked tree" + }; FHelpDescribeAndExit(argc, argv, "Test the blocked tree.", FParameterDefinitions::OctreeHeight, FParameterDefinitions::OctreeSubHeight,