Why is tetramesh painfully slow?

9 次查看(过去 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 个评论
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 中查找有关 Surface and Mesh Plots 的更多信息


Community Treasure Hunt

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

Start Hunting!

Translated by