「$SourcePosition」:修訂間差異
跳至導覽
跳至搜尋
已建立頁面,內容為 "=='''Format'''== $SourcePosition ''int fp'' <font color=green>// where ''int1'' is an integer, and ''fp'' is an floating point.</font> <font si..." |
無編輯摘要 |
||
| (未顯示同一使用者於中間所作的 7 次修訂) | |||
| 第1行: | 第1行: | ||
=='''Format'''== | =='''Format'''== | ||
$SourcePosition | $SourcePosition | ||
'' | ''pt<sub>1</sub> pt<sub>2</sub> pt<sub>3</sub> pt<sub>4</sub> pt<sub>5</sub> pt<sub>6</sub>'' <font color=green>// all are floating points.</font> | ||
<font size=3> | <font size=3> | ||
Define the source area. <br> | |||
If it is not any node at the ''pt'', the program will find the nearest point/face as the source. | |||
</font> | </font> | ||
When the type of source in [[$SourceType]] is | |||
1~4: you only need ''pt<sub>1</sub>'' to define the position, ''axis'' (in [[$SourceType]]) decides which surface is used. | |||
11~14: similar to 1~4, but ''dir'' (in [[$SourceType]]) decides which direction the wave propagates. | |||
21~24: ''pt<sub>1~6</sub>'' are x-, x+, y-, y+, z-, and z+. This tells the program where the total field is. | |||
31~34: ''pt<sub>1~6</sub>'' are x-, x+, y-, y+, z-, and z+. (not finished) | |||
51~64: ''pt<sub>2,4,6</sub>'' are x, y, and z. Define which point is the source. | |||
=='''Example'''== | =='''Example'''== | ||
$SourcePosition | $SourcePosition | ||
700e-9 0 0 0 0 0 | |||
== '''Related commands''' == | == '''Related commands''' == | ||
: [[$SourceType]], [[$SourceFrequency]] | : [[$SourceType]], [[$SourceAmp]], [[$SourcePosition]], [[$SourceFrequency]] | ||
於 2020年3月18日 (三) 07:55 的最新修訂
Format
$SourcePosition pt1 pt2 pt3 pt4 pt5 pt6 // all are floating points.
Define the source area.
If it is not any node at the pt, the program will find the nearest point/face as the source.
When the type of source in $SourceType is 1~4: you only need pt1 to define the position, axis (in $SourceType) decides which surface is used. 11~14: similar to 1~4, but dir (in $SourceType) decides which direction the wave propagates. 21~24: pt1~6 are x-, x+, y-, y+, z-, and z+. This tells the program where the total field is. 31~34: pt1~6 are x-, x+, y-, y+, z-, and z+. (not finished) 51~64: pt2,4,6 are x, y, and z. Define which point is the source.
Example
$SourcePosition 700e-9 0 0 0 0 0