Commit 9b977d5f authored by berenger-bramas's avatar berenger-bramas
Browse files

Update loader create to use the -nb option

git-svn-id: svn+ssh:// 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 6ddf252b
......@@ -8,6 +8,7 @@
#include <time.h>
#include "../Src/Utils/FGlobal.hpp"
#include "../Src/Utils/FParameters.hpp"
// This file can generate basic particles files to load with basic loader
// g++ testLoaderCreate.cpp -o testLoaderCreate.exe
......@@ -23,7 +24,7 @@ int main(int argc, char ** argv){
// Nb of particles
const long NbParticles = 200000;
const FSize NbParticles = FParameters::getValue(argc,argv,"-nb", FSize(200000));
const FReal FRandMax = FReal(RAND_MAX);
// Center of the box
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment