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 件のコメント
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 Center および File ExchangeGeometry and Mesh についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by