「$SourceType」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
| 第26行: | 第26行: | ||
== '''Related commands''' == | == '''Related commands''' == | ||
: [[$SourcePosition]], [[$SourceFrequency]] | : [[$SourceType]], [[$SourceAmp]], [[$SourcePosition]], [[$SourceFrequency]] | ||
於 2019年1月3日 (四) 09:17 的修訂
Format
$SourceType type axis dir θ φ ψ // type, axis, and dir are integers, the others are floating.
type: 1~4 dual wave: sin, exp, sin*exp, multi-sine;
11~14 one dir.: sin, exp, sin*exp, multi-sine;
21~24 TF/SF
31~34 cuboid source (not finished)
axis: 1~3 represents the is along x, y, or z axis. p.s. it is useless for TF/SF source.
dir: -1 means the wave goes to negative,
1 means the wave goes to positive.
p.s. it is useless for TF/SF source.
the unit of theta, phi, and psi is degree, it will be changed to radians.

Example
$SourceType 12 3 -1 0 0