Neko  0.8.99
A portable framework for high-order spectral element flow simulations
file::file_t Interface Reference

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...

Public Member Functions

procedure write => file_write
 Writes data to a file. More...
 
procedure read => file_read
 Read data from a file. More...
 
procedure set_counter => file_set_counter
 Set a file's counter. More...
 
procedure set_start_counter => file_set_start_counter
 Set a file's start counter. More...
 
procedure set_header => file_set_header
 Set a file's header. More...
 
procedure set_precision => file_set_precision
 Set a file's output precision. More...
 
final file_free
 File operation destructor. More...
 
type(file_t) function, target file_init (fname, header, precision)
 File reader/writer constructor. More...
 

Public Attributes

class(generic_file_t), allocatable file_type
 

Detailed Description

Definition at line 54 of file file.f90.

Member Function/Subroutine Documentation

◆ file_free()

final file::file_t::file_free
final

Definition at line 70 of file file.f90.

Here is the call graph for this function:

◆ file_init()

type(file_t) function, target file::file_t::file_init ( character(len=*)  fname,
character(len=*), optional  header,
integer, optional  precision 
)
Parameters
fnameFilename.

Definition at line 81 of file file.f90.

Here is the call graph for this function:

◆ read()

procedure file::file_t::read

Definition at line 60 of file file.f90.

◆ set_counter()

procedure file::file_t::set_counter

Definition at line 62 of file file.f90.

◆ set_header()

procedure file::file_t::set_header

Definition at line 66 of file file.f90.

◆ set_precision()

procedure file::file_t::set_precision

Definition at line 68 of file file.f90.

◆ set_start_counter()

procedure file::file_t::set_start_counter

Definition at line 64 of file file.f90.

◆ write()

procedure file::file_t::write

Definition at line 58 of file file.f90.

Member Data Documentation

◆ file_type

class(generic_file_t), allocatable file::file_t::file_type

Definition at line 55 of file file.f90.


The documentation for this interface was generated from the following file: