Neko 1.99.1
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
generic_file Module Reference

Data Types

interface  generic_file_read
 
type  generic_file_t
 A generic file handler. More...
 
interface  generic_file_write
 

Functions/Subroutines

subroutine generic_file_init (this, fname)
 Generic file constructor.
 
character(len=1024) function generic_file_get_fname (this)
 Get a file's name.
 
character(len=1024) function generic_file_get_base_fname (this)
 Get base name without counter.
 
subroutine generic_file_set_counter (this, n)
 Set the file counter to n.
 
subroutine generic_file_increment_counter (this)
 Increment the file counter by 1.
 
subroutine generic_file_set_start_counter (this, n)
 Set the file start counter to n.
 
pure integer function generic_file_get_counter (this)
 Get the file counter.
 
pure integer function generic_file_get_start_counter (this)
 Get the file start counter.
 
subroutine generic_file_check_exists (this)
 check if the file exists
 
subroutine generic_file_set_overwrite (this, overwrite)
 Set overwrite mode.
 

Function/Subroutine Documentation

◆ generic_file_check_exists()

subroutine generic_file::generic_file_check_exists ( class(generic_file_t), intent(in this)

Definition at line 175 of file generic_file.f90.

◆ generic_file_get_base_fname()

character(len=1024) function generic_file::generic_file_get_base_fname ( class(generic_file_t), intent(in this)

Definition at line 126 of file generic_file.f90.

◆ generic_file_get_counter()

pure integer function generic_file::generic_file_get_counter ( class(generic_file_t), intent(in this)

Definition at line 161 of file generic_file.f90.

◆ generic_file_get_fname()

character(len=1024) function generic_file::generic_file_get_fname ( class(generic_file_t), intent(in this)

Definition at line 108 of file generic_file.f90.

Here is the call graph for this function:

◆ generic_file_get_start_counter()

pure integer function generic_file::generic_file_get_start_counter ( class(generic_file_t), intent(in this)

Definition at line 168 of file generic_file.f90.

◆ generic_file_increment_counter()

subroutine generic_file::generic_file_increment_counter ( class(generic_file_t), intent(inout this)

Definition at line 143 of file generic_file.f90.

◆ generic_file_init()

subroutine generic_file::generic_file_init ( class(generic_file_t this,
character(len=*)  fname 
)
Parameters
fnameFilename.

Definition at line 98 of file generic_file.f90.

◆ generic_file_set_counter()

subroutine generic_file::generic_file_set_counter ( class(generic_file_t), intent(inout this,
integer, intent(in n 
)

Definition at line 136 of file generic_file.f90.

◆ generic_file_set_overwrite()

subroutine generic_file::generic_file_set_overwrite ( class(generic_file_t), intent(inout this,
logical, intent(in overwrite 
)

Definition at line 200 of file generic_file.f90.

Here is the call graph for this function:

◆ generic_file_set_start_counter()

subroutine generic_file::generic_file_set_start_counter ( class(generic_file_t), intent(inout this,
integer, intent(in n 
)

Definition at line 154 of file generic_file.f90.