Une MAJ de sécurité est nécessaire sur notre version actuelle. Elle sera effectuée lundi 02/08 entre 12h30 et 13h. L'interruption de service devrait durer quelques minutes (probablement moins de 5 minutes).

Commit b346454e authored by COULAUD Olivier's avatar COULAUD Olivier
Browse files

Minor changes

parent 598839a9
......@@ -28,8 +28,8 @@
//! The arguments available are
//!
//! <b> General arguments:</b>
//! \param -h to see the parameters available in this driver
//! \param -N The number of points in the distribution
//! \param -help(-h) to see the parameters available in this driver
//! \param -N The number of points in the distribution (default 20000)
//! \param -filename name: generic name for files (without extension) and save data
//! with following format in name.xxx or name.bin in -bin (not yet implemented) is set
//! \param -visu save output in filename.txt
......@@ -62,7 +62,7 @@
std::cout << "Driver to generate N points (non)uniformly distributed on a given geometry"
<< std::endl;
std::cout << "Options "<< std::endl
<< " -h to see the parameters " << std::endl
<< " -help to see the parameters " << std::endl
<< " -N The number of points in the distribution " << std::endl
<< std::endl
<< " Distributions " << std::endl
......@@ -87,12 +87,12 @@
int main(int argc, char ** argv){
//
if(FParameters::existParameter(argc, argv, "-h") ||FParameters::existParameter(argc, argv, "-help")|| (argc < 3 )){
if(FParameters::existParameter(argc, argv, "-h")||FParameters::existParameter(argc, argv, "-help")|| (argc < 3 )){
genDistusage() ;
exit(-1);
}
const FReal extraRadius = 0.001 ;
const int NbPoints = FParameters::getValue(argc,argv,"-N", 20);
const int NbPoints = FParameters::getValue(argc,argv,"-N", 20000);
const std::string genericFileName(FParameters::getStr(argc,argv,"-filename", "unifPointDist"));
FReal BoxWith ;
//
......
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