Subject: CGAL users discussion list
List archive
- From: Clément Jamin <>
- To:
- Subject: Re: [cgal-discuss] Dangling vertices from parallel make_mesh_3
- Date: Thu, 6 Oct 2016 15:39:22 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:qMQTHxPpVJTIXsY/r6cl6mtUPXoX/o7sNwtQ0KIMzox0K/T4rarrMEGX3/hxlliBBdydsKMezbGM+P68ESxYuNDa7yBEKMQNHzY+yuwo3CUYSPafDkP6KPO4JwcbJ+9lEGFfwnegLEJOE9z/bVCB6le77DoVBwmtfVEtfre9ScbuiJG82Om2vpHSeA5VnyGVYLVoLRzwox+CmNMRhN5JLic0xx3VlVlBfuVQjTdjIV+WkhDgoMW5+Z9ltTxKvNou8sdBVePxeKFuHu8QNygvL21gvJ6jjhLEVwbavnY=
Hi Julian,
On Tue, Oct 4, 2016 at 12:01 AM, Julian Panetta
<>
wrote:
> 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?
You are right. Let me add this to my TODO-list.
Thanks.
> 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_3
>>>
>>> before 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.