「$GmshTag」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "=='''Format'''== $GmshTag ''N type'' ''tag<sub>1</sub>'' ''tag<sub>2</sub>'' '' .'' '' .'' '' .'' ''tag<sub>N</sub>'' <font color=green>..." |
|||
| 第13行: | 第13行: | ||
''N'': the number of ''tag'' you want to define. <br> | '''''N''''': the number of ''tag'' you want to define. <br> | ||
''type'': 1 means the program will read the tag of the physical entity, and 2 means the program will read the tag of the elementary model entity. <br> | '''''type''''': 1 means the program will read the tag of the physical entity, and 2 means the program will read the tag of the elementary model entity. <br> | ||
''tag<sub>i</sub>'' : the index of i-th tag. | '''''tag<sub>i</sub>''''' : the index of i-th tag. | ||
</font> | </font> | ||
於 2019年7月30日 (二) 09:09 的最新修訂
Format
$GmshTag N type tag1 tag2 . . . tagN // All are integers.
This function defines how many objects you want to use from the Gmsh file and what their indices are.
N: the number of tag you want to define.
type: 1 means the program will read the tag of the physical entity, and 2 means the program will read the tag of the elementary model entity.
tagi : the index of i-th tag.
Example
$GmshTag 2 2 4 1