Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] OpenMP use with Surface mesh

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] OpenMP use with Surface mesh


Chronological Thread 
  • From: Shankar Kulumani <>
  • To:
  • Subject: Re: [cgal-discuss] OpenMP use with Surface mesh
  • Date: Thu, 7 Jun 2018 08:02:13 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:WF4MCBHdti8vit2BzD1Ln51GYnF86YWxBRYc798ds5kLTJ78rsiwAkXT6L1XgUPTWs2DsrQY07eQ6/iocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmDqwbaluIBmqsA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5KlpVRDokj8KODE38G7VisJ+gqFVrg+/qRNj2IPbep2ZOeBkc6/BYd8XR2xMVdtRWSxbBYO8apMCAfcBPelCqYn9pEEBrQGjDgepGePvziJIhnrs0q080uQqDAbL3BcgH90UtnTUr871OL0RUe2uw6nIyC/Mb/JS2Tvn9IfIdRUhrOiKULltf8TRzkwvGBnEjlWWsYHlPjWV1v4Ms2eB9eZgW/ivhmg6oA9yujii3tkghpXNi44PyV3J9T91zJgoKdC3UkJ2YN+pHZ1NvC+ALYR2WNktQ2RwtSY61LIGvZm7cTAPyJs9xh7fb+WLc4mU4h7/TeqRLzZ1iXN/dLKwgBay9kegyuniWcWuzFlKqS9FnsHNtnALyRPT9tCKRuVh8kqlwzqC1ADe5vtaLUwpmqfXMZ8sz78ompoWq0vDHyv2mEvsjK+Rc0Up4vOo6+T9bbXgpZ+cLJV4igLlP6Qhn8ywG+U4MgwUU2eH/uS80aXv/VflT7VSkv02jq7ZvYjGKsQUvKG5BxZZ3Zsi6xakEzimzc8YnWIcIVJeeBOHipDpNEvULPD5C/e/mVWsny1xy/DIJL2ySqjLNWXJxbf9Ya5muQkb0xs21dkZ5pROC7hHLui0QV70rNWfDxk3NEu/zO/jTdl8zYgDQnncPqjMO6zbtRqE5/kkPvKXTI4Tojf0bfY/tND0inpsol8Ue6qgx9M0dXSlG/1gIg3NenrlhNQaV2QisQ83Teisg1qHB20AL02uVr4xs2loQLmtCp3OE9j00e6xmRyjF5gTXVhoT1WFEHPmbYKBAq5eZyebI8snmTsBB+H4F90RkCq2vQq/8IJJa/LO83RB553m3dlxoebUkENqrGEmP4Gmy2iIClpMsCYISjsxhv0tpEV8zhKCzfA9jaIGU9NU4PxNX0ExMpuOl+E=

I'll be iterating over a single property in parallel. For example computing all normal vectors for the faces.

Thanks for you suggestion on garbage collection. I'll try to ensure that if items are removed that the garbage is collected.

On Thu, Jun 7, 2018 at 7:50 AM Sebastien Loriot (GeometryFactory) <> wrote:
What do you want to do? iterator over properties in parallel
or over one property in a parallel loop?

In the former case, not pb.
In the latter case, you need an integer range IIRC with OpenMP.
So in the case of Surface_mesh it is possible only if the mesh
has no garbage (otherwise the simplex incides are not contiguous).

Sebastien.

On 06/07/2018 12:58 PM, Shankar Kulumani wrote:
> Hello
>
> I'm computing many properties over the elements of a surface mesh, all
> edges, half edges and faces.
>
> Currently this is done using the respective edges, face, halfedge
> iterator ranges.
>
> Once calculated the properties are stored as properties within the
> surface mesh.
>
> Is it possible to iterate through these elements using a parallel loop,
> i.e. OpenMP parallel for?
>
> I'm of course just going to try but was wondering if there are any
> issues to be aware of or things to consider.
>
> Thank you for the great project.

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





Archive powered by MHonArc 2.6.18.

Top of Page