$SourceType

出自 DDCC TCAD TOOL Manual
於 2018年11月26日 (一) 20:51 由 Mike (對話 | 貢獻) 所做的修訂

前往: 導覽搜尋

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

$SourcePosition, $SourceFrequency