「$SourcePosition」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
| (未顯示同一使用者於中間所作的 1 次修訂) | |||
| 第10行: | 第10行: | ||
When the type of source in [[$SourceType]] is | When the type of source in [[$SourceType]] is | ||
1~4: you only need ''pt<sub>1</sub>'' to define the position, ''axis'' decides which surface is used. | 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'' decides which direction the wave propagates. | 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. | 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) | 31~34: ''pt<sub>1~6</sub>'' are x-, x+, y-, y+, z-, and z+. (not finished) | ||
於 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