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

Data Types

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

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_next_output_fname (this)
 Get the file name generated by the next write.
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 186 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 137 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 172 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 110 of file generic_file.f90.

Here is the call graph for this function:

◆ generic_file_get_next_output_fname()

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

Definition at line 128 of file generic_file.f90.

◆ 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 179 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 154 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 100 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 147 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 211 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 165 of file generic_file.f90.