diff --git a/Tests/noDist/testBlockedChebyshev.cpp b/Tests/noDist/testBlockedChebyshev.cpp index 53f487b05957937cd31afce2907b342c320280b8..a610cc4307be2ad5b5fd3ac6e0d44f5cb655b37f 100644 --- a/Tests/noDist/testBlockedChebyshev.cpp +++ b/Tests/noDist/testBlockedChebyshev.cpp @@ -48,13 +48,19 @@ #include <memory> +//#define RANDOM_PARTICLES int main(int argc, char* argv[]){ const FParameterNames LocalOptionBlocSize { {"-bs"}, "The size of the block of the blocked tree"}; const FParameterNames LocalOptionNoValidate { {"-no-validation"}, "To avoid comparing with direct computation"}; FHelpDescribeAndExit(argc, argv, "Test the blocked tree by counting the particles.", - FParameterDefinitions::OctreeHeight,FParameterDefinitions::InputFile, - FParameterDefinitions::NbParticles, FParameterDefinitions::NbThreads, + FParameterDefinitions::OctreeHeight, +#ifdef RANDOM_PARTICLES + FParameterDefinitions::NbParticles, +#else + FParameterDefinitions::InputFile, +#endif + FParameterDefinitions::NbThreads, LocalOptionBlocSize, LocalOptionNoValidate); // Initialize the types @@ -82,7 +88,6 @@ int main(int argc, char* argv[]){ const int groupSize = FParameters::getValue(argc,argv,LocalOptionBlocSize.options, 250); // Load the particles -//#define RANDOM_PARTICLES #ifdef RANDOM_PARTICLES FRandomLoader loader(FParameters::getValue(argc,argv,FParameterDefinitions::NbParticles.options, 2000), 1.0, FPoint(0,0,0), 0); #else