「$SourceType」:修訂間差異

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


<font size=3>
<font size=3>
   type: 1~4 dual wave: sin, exp, sin*exp, multi-sine;  
   <span style="color:blue">'''type'''</span>: 1~4 dual wave: sin, exp, sin*exp, multi-sine;  
         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)
         31~34 cuboid source (<span style="color:red">not finished</span>)
        51~54 point source (hard source)
        61~64 point source (soft source)


   axis: 1~3 represents the is along x, y, or z axis.
   <span style="color:blue">'''axis'''</span>: 1~3 represents the is along x, y, or z axis.
   ''p.s.'' it is useless for TF/SF source.
   ''p.s.1'' it is useless for TF/SF source.
  ''p.s.2'' for point source, axis means the direction of dipole.


   dir: -1 means the wave goes to negative,  
   <span style="color:blue">'''dir'''</span>: -1 means the wave goes to negative,  
         1 means the wave goes to positive.
         1 means the wave goes to positive.
   ''p.s.'' it is useless for TF/SF source.
   ''p.s.'' it is useless for TF/SF source.
    
    
the unit of theta, phi, and psi is degree, it will be changed to radians.
 
  <span style="color:blue">'''θ''', '''φ''', '''ψ'''</span>: the unit is degree and will be changed to radian in the program.
          θ is relative to the +z-axis of the space lattice, 0° < θ <180°
[[File: Source_angle.jpg|The meaning of theta, phi, and psi.|left|thumb|500px]]
[[File: Source_angle.jpg|The meaning of theta, phi, and psi.|left|thumb|500px]]
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

於 2019年1月11日 (五) 04:03 的修訂

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)
       51~54 point source (hard source)
       61~64 point source (soft source)
 axis: 1~3 represents the is along x, y, or z axis.
 p.s.1 it is useless for TF/SF source.
 p.s.2 for point source, axis means the direction of dipole.
 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 is degree and will be changed to radian in the program.
          θ is relative to the +z-axis of the space lattice, 0° < θ <180°
The meaning of theta, phi, and psi.























Example

$SourceType
 12	3	-1	0	0

Related commands

$SourceType, $SourceAmp, $SourcePosition, $SourceFrequency