What algorithm is used by generateMesh function?

조회 수: 8 (최근 30일)
Borja Imaz-Lueje
Borja Imaz-Lueje 2023년 1월 30일
댓글: Borja Imaz-Lueje 2023년 1월 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
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
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
  댓글 수: 1
Borja Imaz-Lueje
Borja Imaz-Lueje 2023년 1월 30일
Hi Tushar,
Thank you very much for the response, this helps me a lot.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Geometry and Mesh에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by