Why is tetramesh painfully slow?

3 次查看(过去 30 天)
Pelajar UM
Pelajar UM 2022-4-25
评论: Pelajar UM 2022-4-25
I have a tetrahedral mesh with 35000+ vertices and 60,000+ faces. When I use tetramesh to plot it, it takes like 10 minutes.
If I use freeboundary to exctract that triangular mesh of the surface, and use trisurf, it is extremely fast, like less than a second. Of course number of data is reduced maybe by half but I don't think this is the resason.
Because if I use pdeplot3d to plot the tetrahedral mesh, similarly, it is super-fast. Less than a second also.
It seems like tetramesh is just so slow. Why?
I can't use pdeplot3d because it only accepts nodel data for its colormap. I need to use the faces for the colormap data.
  10 个评论
Bruno Luong
Bruno Luong 2022-4-25
编辑:Bruno Luong 2022-4-25
I know well what the convex hull is, My data are random volume not a specific geometry. Does the convex volume matter for the slownest you want to point out? Yes or no?
Pelajar UM
Pelajar UM 2022-4-25
No, it doesn't matter. tetramesh (DT) and tetramesh(elements, nodes) are both super slow.
I have attached a list of nodes and elements that you can try. Time tetramesh vs pdemesh3d. You will see the difference is massive.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bounding Regions 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by