Hi All,
I have a list of vertices, normals and indices that define the triangles/facets of CAD file within an assembly. I want to decimate each CAD file in the assembly in parallel using MPI.
Here is my workflow.
-
Create VTK PolyData object in each process
-
Decimate PolyData object in each process
-
Recreate list of vertices, normals, indices
-
Send list back to process 0 using MPISend
-
Process 0 receives list from other processes and re-creates the assembly list
The key point here is I am using MPI directly not VTKs implementation of MPI support.
My question is, is this the best way to speed up the decimation process in VTK ? Will it work ?
I will appreciate your answers
Regards
Famous