For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

BRepMesh parallel version (using TBB) produces arbitrary number of triangles

Christian R. Krug's picture
Forums: 

I have tried the parallel version of OCCT 6.5, which uses TBB. But BRepMesh_IncrementalMesh is not very reliable. I have a little test program attached, that demonstrates that the meshing algo always produces different numbers of triangles (ranging between 158 and 196).

My test program compiles with Visual Studio 2008 and runs under Windows 7. Sometimes, heap corruption during program execution is reported (both in Debug and in Release mode).

It seems to me, that the triangulation itself is reasonably thread safe, but that calls to other functionality is not protected. Especially to GeomAdaptor Surface and Curve.

Attachments: