"$SourceType" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(Format)
(Format)
行 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日 (一) 20: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.

The meaning of theta, phi, and psi.

Example

$SourceType
 12	3	-1	0	0

Related commands

$SourcePosition, $SourceFrequency