$ifzscaled

出自 DDCC TCAD TOOL Manual
於 2018年7月17日 (二) 23:25 由 Yrwu (對話 | 貢獻) 所做的修訂 (已建立頁面,內容為 "The 3D-DDCC mainly uses cgs unit (not all parameters). But the gmsh file may not created by cgs unit. $ifzscaled ($ifxscaled, $ifyscaled) is a scaling command to res...")

(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
前往: 導覽搜尋

The 3D-DDCC mainly uses cgs unit (not all parameters). But the gmsh file may not created by cgs unit. $ifzscaled ($ifxscaled, $ifyscaled) is a scaling command to rescale the gmsh's dimension. For example, if people create a gmsh file and it's z-dimension is using nm as the unit. He can use $ifzscaled to convert the file into cm unit.
for example:

1nm=1.0e-7cm

Therefore, if the mesh file use nm, then we need this command

$ifzscaled
1.0e-7   

If all directions using nm, then

$ifxscaled
1.0e-7  
$ifyscaled
1.0e-7  
$ifzscaled
1.0e-7  

If the x and y direction use um and the z direction uses nm, then

$ifxscaled
1.0e-4  
$ifyscaled
1.0e-4  
$ifzscaled
1.0e-7  


related commands:

  $ifzscaled, $ifxscaled, [[$ifyscaled]