Neko  0.8.1
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

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

Definition at line 53 of file file.f90.

Member Function/Subroutine Documentation

◆ file_free()

final file::file_t::file_free
final

File operation destructor.

Definition at line 69 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 
)

File reader/writer constructor.

Parameters
fnameFilename.

Definition at line 80 of file file.f90.

Here is the call graph for this function:

◆ read()

procedure file::file_t::read

Read data from a file.

Definition at line 59 of file file.f90.

◆ set_counter()

procedure file::file_t::set_counter

Set a file's counter.

Definition at line 61 of file file.f90.

◆ set_header()

procedure file::file_t::set_header

Set a file's header.

Definition at line 65 of file file.f90.

◆ set_precision()

procedure file::file_t::set_precision

Set a file's output precision.

Definition at line 67 of file file.f90.

◆ set_start_counter()

procedure file::file_t::set_start_counter

Set a file's start counter.

Definition at line 63 of file file.f90.

◆ write()

procedure file::file_t::write

Writes data to a file.

Definition at line 57 of file file.f90.

Member Data Documentation

◆ file_type

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

Definition at line 54 of file file.f90.


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