Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Multithreaded access of Delaunay_triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Multithreaded access of Delaunay_triangulation_3


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Multithreaded access of Delaunay_triangulation_3
  • Date: Wed, 21 Aug 2013 14:46:04 +0200
  • Organization: GeometryFactory


The function incident_cells puts "visited" markers in the cell,
so it is NOT multithreading safe.

best regards,

andreas



On 21/08/2013 14:29, Benoit B. wrote:
Hello,

I'm using the Delaunay_triangulation_3 class with the
Exact_predicates_inexact_constructions_kernel kernel, and I'm wondering if
it is thread-safe (by using multiple threads with omp) to access and get
queries on the triangulation, such as neighbor() or incident_cells() in
particular ?

For example, I tried to compute the average number of incident cells per
vertice, and I didn't get the same result with one thread or multiple
threads (the code had critical sections) ...

Cheers,
Benoit



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Multithreaded-access-of-Delaunay-triangulation-3-tp4657950.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



--
Andreas Fabri, PhD
Chief Officer, GeometryFactory
Editor, The CGAL Project

phone: +33.492.954.912 skype: andreas.fabri



Archive powered by MHonArc 2.6.18.

Top of Page