calc_meshdata

Calculates the affine transformations for integration in 2D/3D via the unit triangle/tetrahedron.

您现在正在关注此提交

Calculates the affine transformations needed for integration in 2D/3D via the unit reference triangle/tetrahedron. In 2D the function takes as its input the matrices p,e,t given by initmesh/poimesh (PDEtool toolbox), and calculates the affine transformations for each triangle simultaneously in a vectorized manner. In 3D we use Tetgen meshes.
With a 2009 MacBook Pro laptop, calculating the affine transformations for a mesh of 2 million triangles takes about 1.2 seconds.

We also demonstrate how to use this data to perform fast vectorized calculation of integral values over 2D and 3D meshes.

引用格式

Immanuel Anjam (2026). calc_meshdata (https://ww2.mathworks.cn/matlabcentral/fileexchange/37606-calc_meshdata), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: inttet, read_tetgenmesh

启发作品: Fast FEM assembly: edge elements

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.3.0.0

Examples of vectorized calculation of integrals.

1.2.0.0

Added a function giving 2d integration quadratures.

1.1.0.0

The same in 3D too.

1.0.0.0