26 |
|
if ((ss >> nbParticules) || ss.eof()) |
27 |
|
{ |
28 |
|
std::cout << "Génération d'un polycristal à " << nbParticules << " particules aléatoires.." << std::endl; |
29 |
< |
Polycristal poly(nbParticules); |
29 |
> |
Polycristal poly(nbParticules,1e-6); |
30 |
|
std::cout << "Terminé." << std::endl; |
31 |
|
} |
32 |
|
else |
33 |
|
{ |
34 |
|
std::cout << "Génération d'un polycristal à partir d'un fichier de particules.." << std::endl; |
35 |
< |
Polycristal poly(argv[1]); |
35 |
> |
Polycristal poly(argv[1],1e-6); |
36 |
|
std::cout << "Fichier BREP : resultat.brep" << std::endl; |
37 |
|
std::cout << "Terminé." << std::endl; |
38 |
|
} |