「$SaveType」:修訂間差異
跳至導覽
跳至搜尋
無編輯摘要 |
|||
| 第4行: | 第4行: | ||
<font size=3> | <font size=3> | ||
This function can change the type of output files. | This function can change the type of output files. Besides text file and binary file, the program also supports VTK format. | ||
{| class=wikitable style="text-align: | |||
|+ | |||
|- | |||
|| ''int'' || format of output files | |||
|- | |||
|| 0 || text file | |||
|- | |||
|| 1 || binary file | |||
|- | |||
|| 2 || text file in VTK format | |||
|- | |||
|| 3 || binary file in VTK format | |||
|} | |||
<br> | |||
The default value is 0. | The default value is 0. | ||
</font> | </font> | ||
於 2018年10月11日 (四) 07:36 的修訂
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 VTK format.
| int | format of output files |
| 0 | text file |
| 1 | binary file |
| 2 | text file in VTK format |
| 3 | binary file in VTK format |
The default value is 0.
Example
$SaveType 1
Then the program will output binary files.