"$SourceType" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(Related commands)
行 26: 行 26:
   
 
== '''Related commands''' ==
 
== '''Related commands''' ==
: [[$SourcePosition]], [[$SourceFrequency]]
+
: [[$SourceType]], [[$SourceAmp]], [[$SourcePosition]], [[$SourceFrequency]]

於 2019年1月3日 (四) 17: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.

The meaning of theta, phi, and psi.























Example

$SourceType
 12	3	-1	0	0

Related commands

$SourceType, $SourceAmp, $SourcePosition, $SourceFrequency