Subject: CGAL users discussion list
List archive
- From: Julian Panetta <>
- To:
- Subject: Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3
- Date: Mon, 3 Oct 2016 18:01:25 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:MrY6UhVuMqqplSatR15lQAL5uv7V8LGtZVwlr6E/grcLSJyIuqrYZROPt8tkgFKBZ4jH8fUM07OQ6PG6HzZeqdbZ6TZZL8wKD0dEwewt3CUeQ+e9QXXhK/DrayFoVO9jb3RCu0+BDE5OBczlbEfTqHDhpRQbGxH4KBYnbr+tQt2a3IyL0LW59JTXJglJnzGgeqhaLROsrAyXuNNFr5FlL/MT1x/Iq30AQ+1QyH90LBrHnQv45862uoZq9SlMp/sJ+MtJUKG8dKM9G+8LRA86Onw4sZW4/SLIShGCsyMR
Dear Clément,
Thanks for the explanation! I'd searched the manual before posting and couldn't find anything about this. If this isn't already documented somewhere, maybe it's worth adding to the "Parallel Algorithms" section?
The extra points indeed cause no harm in my application, but worried me that something had broken.
-Julian
On Mon, Oct 3, 2016 at 10:47 AM, Clément Jamin <> wrote:
Hi Julian,On Sat, Oct 1, 2016 at 11:07 PM, Julian Panetta <> wrote:Running make_mesh_3 in parallel gives a similar output to the sequential version, but it's consistently surrounded by 20 disconnected vertices all well outside the domain's bounding sphere (marked with "plus" signs in the attached image).Of course I can remove these, but it's disconcerting. Any ideas what's happening?Yes, this is normal. Those points are added to get a better speed-up when parallelism is activated.Basically, the Delaunay triangulation used by the mesher has an infinite vertex (see here http://doc.cgal.org/latest/Triangulation_3/index.html). A lot of cells are adjacent to this vertex, so there is contention on it when several threads work in parallel on the triangulation. Adding those "far points" reduces contention.We could remove them after the meshing process, but it is costly. They usually do not harm since they are not adjacent to any cell of the mesh.Clément.For example, I see this in the implicit sphere example after pasting:#define CGAL_LINKED_WITH_TBB#define CGAL_CONCURRENT_MESH_3before the CGAL includes (and changing CGAL::Default to K to build on CGAL 4.8.1).Thanks,Julian
- [cgal-discuss] Dangling vertices from parallel make_mesh_3, Julian Panetta, 10/01/2016
- Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3, Clément Jamin, 10/03/2016
- Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3, Julian Panetta, 10/04/2016
- Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3, Clément Jamin, 10/06/2016
- Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3, Julian Panetta, 10/04/2016
- Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3, Clément Jamin, 10/03/2016
Archive powered by MHonArc 2.6.18.