「$SourceType」:修訂間差異

出自DDCC TCAD TOOL Manual
跳至導覽 跳至搜尋
Mike留言 | 貢獻
Mike留言 | 貢獻
無編輯摘要
第1行: 第1行:
=='''Format'''==
=='''Format'''==
  $SourceType
  $SourceType
   ''int1   int2''               <font color=green>// where ''int1-2'' are integers.</font>
   ''type   axis    dir    theta    phi''           <font color=green>// ''type'', ''axis'', and ''dir'' are integers, the others are floating.</font>


<font size=3>Source%typ, Source%mode</font>
<font size=3>
type 1~3 dual wave: sin, exp, sin*exp; 11~13 one dir.: sin, exp, sin*exp.
 
the unit of theta and phi is degree, it will be changed to radian.
</font>




=='''Example'''==
=='''Example'''==
  $SourceType
  $SourceType
   1   1
   12 3 -1 0 0


== '''Related commands''' ==
== '''Related commands''' ==
: [[$SourcePosition]], [[$SourceFrequency]]
: [[$SourcePosition]], [[$SourceFrequency]]

於 2018年10月12日 (五) 03:22 的修訂

Format

$SourceType
 type    axis    dir    theta    phi            // type, axis, and dir are integers, the others are floating.

type 1~3 dual wave: sin, exp, sin*exp; 11~13 one dir.: sin, exp, sin*exp.

the unit of theta and phi is degree, it will be changed to radian.


Example

$SourceType
 12	3	-1	0	0

Related commands

$SourcePosition, $SourceFrequency