fileio_binary.f90 File Reference

Go to the source code of this file.

Data Types

type  fileio_binary_mod::fileio_binary
 

Modules

module  fileio_binary_mod
 module for binary file I/O
 

Functions/Subroutines

subroutine fileio_binary_mod::initfileio_binary (this, Mesh, Physics, Timedisc, Sources, config, IO)
 Constructor for the binary file I/O. More...
 
subroutine fileio_binary_mod::openfile (this, action)
 Specific routine to open a file for binary I/O. More...
 
subroutine fileio_binary_mod::writeheader (this, Mesh, Physics, Header, IO)
 Write the file header The header is written in ASCII and is 13 Byte long. First a "magic" identifier is written, than the endianness (II=little, MM=big), a single byte file format version number, two char realsize, two char intsize. This would result for example to (\0=hex 0): "FOSITEII\0 8 4". More...
 
subroutine fileio_binary_mod::writekey (this, key, type, bytes, dims)
 Writes key structure This subroutine writes the the key, data type and data sizes. It is defined as following (suppose 4B Integer) | 4B length of key | *B key | 4B data type | 4B data size in bytes | If the data type is a 2D,3D or 4D array, 2, 3 or 4 (4 Byte) integers are appended with the shape information. There storage is included in the data size field. Therefore without knowing the data types, one can jump over the data to the next key structure. More...
 
subroutine append (buffer, i, d)
 
recursive subroutine fileio_binary_mod::writedataattributes (this, Mesh, config, path)
 Writes data attributes to a file. More...
 
subroutine fileio_binary_mod::writenode (this, Mesh, key, node)
 
logical function fileio_binary_mod::hasmeshdims (this, Mesh, dims)
 
logical function fileio_binary_mod::hascornerdims (this, Mesh, dims)
 
subroutine fileio_binary_mod::setmeshdims (this, Mesh, dims)
 
subroutine fileio_binary_mod::writedataset (this, Mesh, Physics, Fluxes, Timedisc, Header, IO)
 Writes all desired data arrays to a file. More...
 
subroutine fileio_binary_mod::getendianness (this, res, littlestr, bigstr)
 Determines the endianness of the system. More...
 
subroutine fileio_binary_mod::closefile (this)
 routine to close a file More...
 
subroutine fileio_binary_mod::finalize (this)
 Closes the file I/O. More...
 

Variables

character, parameter fileio_binary_mod::lf = ACHAR(10)
 line feed More...
 

Function/Subroutine Documentation

◆ append()

subroutine writekey::append ( character(len=1), dimension(:)  buffer,
integer  i,
character(len=1), dimension(:)  d 
)
private

Definition at line 401 of file fileio_binary.f90.