"$SParameterDirectory" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(已建立頁面,內容為 "<font size=5>'''Format'''</font> $TimeStep ''int'' <font color=green>// where ''int'' is an integer.</font> <font size=3>This value tells the prog...")
 
行 1: 行 1:
 
<font size=5>'''Format'''</font>
 
<font size=5>'''Format'''</font>
$TimeStep
 
  +
$SParameterDirectory
''int'' <font color=green>// where ''int'' is an integer.</font>
+
''filename'' <font color=green>// where ''filename'' is an string.</font>
   
<font size=3>This value tells the program what the total of time steps is.</font>
+
<font size=3>$SParameterDirectory allows the program to know what the name of the input file 2 is and where it is.</font>
   
   
 
<font size=5>'''Example'''</font>
 
<font size=5>'''Example'''</font>
$TimeStep
 
  +
$SParameterDirectory
500
 
  +
Sparameter.Sinp
   
Then the program is going to run 500 time steps.
 
  +
Then the program reads Sparameter.Sinp in the same directory with the program as the input file 2.
  +
  +
or
  +
$SParameterDirectory
  +
C:\Users\Documents\FDTD\Sparameter.Sinp
  +
  +
the program reads the input file 2 in C:\Users\Documents\FDTD\Sparameter.Sinp.

於 2018年7月11日 (三) 11:17 的修訂

Format

$SParameterDirectory
 filename                // where filename is an string.

$SParameterDirectory allows the program to know what the name of the input file 2 is and where it is.


Example

$SParameterDirectory
 Sparameter.Sinp

Then the program reads Sparameter.Sinp in the same directory with the program as the input file 2.

or

$SParameterDirectory
 C:\Users\Documents\FDTD\Sparameter.Sinp

the program reads the input file 2 in C:\Users\Documents\FDTD\Sparameter.Sinp.