seed the far points generator

to make parallel Mesh_3 with 1 thread deterministic
This commit is contained in:
Jane Tournois 2022-12-13 11:31:39 +01:00
parent 64333c5b06
commit efcebf2294
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ initialize()
# ifdef CGAL_CONCURRENT_MESH_3_VERBOSE
std::cerr << "Adding points on a far sphere (radius = " << radius <<")...";
# endif
Random_points_on_sphere_3<Bare_point> random_point(radius);
Random_points_on_sphere_3<Bare_point> random_point(radius, CGAL::Random(0));
const int NUM_PSEUDO_INFINITE_VERTICES = static_cast<int>(
float(std::thread::hardware_concurrency())
* Concurrent_mesher_config::get().num_pseudo_infinite_vertices_per_core);