Neko
0.8.1
A portable framework for high-order spectral element flow simulations
|
Module for file I/O operations. More...
Data Types | |
interface | file_t |
A wrapper around a polymorphic generic_file_t that handles its init. This is essentially a factory for generic_file_t descendants additionally handling special CSV file parameters (header and precision). More... | |
Functions/Subroutines | |
type(file_t) function, target | file_init (fname, header, precision) |
File reader/writer constructor. More... | |
subroutine | file_free (this) |
File operation destructor. More... | |
subroutine | file_write (this, data, t) |
Writes data to a file. More... | |
subroutine | file_read (this, data) |
Read data from a file. More... | |
subroutine | file_set_counter (this, n) |
Set a file's counter. More... | |
subroutine | file_set_start_counter (this, n) |
Set a file's start counter. More... | |
subroutine | file_set_header (this, hd) |
Set a file's header. More... | |
subroutine | file_set_precision (this, precision) |
Set a file's output precision. More... | |
Module for file I/O operations.
subroutine file::file_free | ( | type(file_t), intent(inout) | this | ) |
type(file_t) function, target file::file_init | ( | character(len=*) | fname, |
character(len=*), optional | header, | ||
integer, optional | precision | ||
) |
subroutine file::file_read | ( | class(file_t), intent(in) | this, |
class(*), intent(inout) | data | ||
) |
subroutine file::file_set_counter | ( | class(file_t), intent(inout) | this, |
integer, intent(in) | n | ||
) |
subroutine file::file_set_header | ( | class(file_t), intent(inout) | this, |
character(len=*), intent(in) | hd | ||
) |
subroutine file::file_set_precision | ( | class(file_t), intent(inout) | this, |
integer, intent(in) | precision | ||
) |
subroutine file::file_set_start_counter | ( | class(file_t), intent(inout) | this, |
integer, intent(in) | n | ||
) |