What algorithm is used by generateMesh function?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all,
I would like to know which triangulation algorithm is used by the generateMesh function included in the Partial Differential Equation Toolbox. Is this algorithm based-on other triangulation algortihms also included in Matlab, such as Delaunay triangulation?
Thank you in advance
댓글 수: 1
Luca Ferro
2023년 1월 30일
편집: Luca Ferro
2023년 1월 30일
you can try by running:
open generateMesh
this should open generateMesh.m and allow you to see its code, from there you can figure it out.
채택된 답변
Tushar Behera
2023년 1월 30일
Hi Borja,
I believe you want to know the algorithm implemented on which "generateMesh " works in Partial Differential Equation Toolbox.
A 2D triangulation procedure is used by the generateMesh function in the Partial Differential Equation (PDE) Toolbox to create a triangular mesh for a specified geometric region.
A modified version of the Delaunay triangulation algorithm is used by the generateMesh function in the PDE Toolbox to account for extra constraints such boundaries and regions with varied mesh density needs.
I hope this solves your query.
Regards,
Tushar
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Geometry and Mesh에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!