TetGenLink`
TetGenLink`

TetGenGetElementAttributes

TetGenGetElementAttributes[expr]

gets the element attributes in a TetGen expression.

更多信息和选项

  • To use TetGenGetElementAttributes, you first need to load it using Needs["TetGenLink`"].
  • TetGenGetElementAttributes returns attributes that are stored in a TetGenExpression.
  • TetGenGetElementAttributes needs the "A" switch to be set during the call to TetGenTetrahedralize.

范例

基本范例  (1)

First, load the package:

This creates an instance of a TetGen expression:

This sets up points and facets to use:

This sets the points and facets in the TetGen instance:

This sets up variables that specify a point within a material domain as well as a region attribute and a region constraint:

The material variables are set in the TetGen instance:

This carries out the tetrahedralization, returning a new TetGen instance. The switch "A" is needed to process the material data:

This extracts the points and faces from the tetrahedralization:


This plots the faces:

Each element now carries the material attribute:

Wolfram Research (2010),TetGenGetElementAttributes,Wolfram 语言函数,https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html.

文本

Wolfram Research (2010),TetGenGetElementAttributes,Wolfram 语言函数,https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html.

CMS

Wolfram 语言. 2010. "TetGenGetElementAttributes." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html.

APA

Wolfram 语言. (2010). TetGenGetElementAttributes. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html 年

BibTeX

@misc{reference.wolfram_2024_tetgengetelementattributes, author="Wolfram Research", title="{TetGenGetElementAttributes}", year="2010", howpublished="\url{https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html}", note=[Accessed: 05-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_tetgengetelementattributes, organization={Wolfram Research}, title={TetGenGetElementAttributes}, year={2010}, url={https://reference.wolfram.com/language/TetGenLink/ref/TetGenGetElementAttributes.html}, note=[Accessed: 05-November-2024 ]}