"$SaveType" 修訂間的差異

出自 DDCC TCAD TOOL Manual
前往: 導覽搜尋
(Example)
 
(未顯示同一使用者於中間所作的 3 次修訂)
行 4: 行 4:
   
 
<font size=3>
 
<font size=3>
This function can change the tyoe of output files. If ''int'' is 0, the program outputs text files; on the other hand, if ''int'' is 1, output files are binary format.<br>
+
This function can change the type of output files. Besides text file and binary file, the program also supports special sequence format for VTK.
  +
  +
{| class=wikitable style="text-align:
  +
|+
  +
|-
  +
|| ''int'' || format of output files
  +
|-
  +
|| 0 || text file
  +
|-
  +
|| 1 || binary file
  +
|-
  +
|| 2 || text file for VTK
  +
|-
  +
|| 3 || binary file for VTK
  +
|}
  +
<br>
 
The default value is 0.
 
The default value is 0.
 
</font>
 
</font>
 
   
 
=='''Example'''==
 
=='''Example'''==

於 2018年10月19日 (五) 13:38 的最新修訂

Format

$SaveType
 int                // where int is an integer.

This function can change the type of output files. Besides text file and binary file, the program also supports special sequence format for VTK.

int format of output files
0 text file
1 binary file
2 text file for VTK
3 binary file for VTK


The default value is 0.

Example

$SaveType
 1

Then the program will output binary files.