Write a function to a file.
The operator write_funct_1d writes the contents of Function to a file. The data is written in an ASCII format. Therefore, the file can be exchanged between different architectures. The data can be read by the operator read_funct_1d. There is no specific extension for this kind of file.
|
Function (input_control) |
function_1d-array -> real / integer |
| Function to be written. | |
|
FileName (input_control) |
filename -> string |
| Name of the file to be written. | |
If the parameters are correct the operator write_funct_1d returns the value 2 (H_MSG_TRUE). If the file could not be opened write_funct_1d returns 5 (H_MSG_FAIL). Otherwise an exception handling is raised.
write_funct_1d is reentrant and processed without parallelization.
create_funct_1d_pairs, create_funct_1d_array
read_funct_1d, write_image, write_region, open_file
Foundation