「$SourceType」:修訂間差異
跳至導覽
跳至搜尋
| 第7行: | 第7行: | ||
11~14 one dir.: sin, exp, sin*exp, multi-sine; | 11~14 one dir.: sin, exp, sin*exp, multi-sine; | ||
21~24 TF/SF | 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. | the unit of theta, phi, and psi is degree, it will be changed to radians. | ||
[[File: Source_angle.jpg|The meaning of theta, phi, and psi.|left|thumb|500px]] | |||
</font> | </font> | ||
於 2018年11月26日 (一) 12:49 的修訂
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