FEDEM Solver  R8.0
Source code of the dynamics solver
Data Types | Modules | Functions/Subroutines | Variables
binaryDBInterface.f90 File Reference

Fortran interface for the C functions for doing binary IO. More...

Data Types

interface  binarydbinterface::readdoubledb
 Reads a double precision array from the specified binary file. More...
 
interface  binarydbinterface::writedoubledb
 Writes a double precision array to the specified binary file. More...
 
interface  binarydbinterface::closebinarydb
 Closes the specified binary file. More...
 
interface  binarydbinterface::openBinaryDB
 Opens a binary direct access file for read or write. More...
 
interface  binarydbinterface::closeBinary_DB
 Closes the specified binary file. More...
 
interface  binarydbinterface::deleteDB
 Deletes the named file. More...
 
interface  binarydbinterface::setBufDB
 Allocates an in-core buffer for the specified binary file. More...
 
interface  binarydbinterface::flushBinaryDB
 Flushes the in-core buffer of the specified binary file to disk. More...
 
interface  binarydbinterface::writeIntDB
 Writes an integer array to the specified binary file. More...
 
interface  binarydbinterface::writeFloatDB
 Writes a single precision array to the specified binary file. More...
 
interface  binarydbinterface::writeDoubleD4
 Writes a double precision array to the specified binary file. More...
 
interface  binarydbinterface::writeDoubleD8
 Writes a big double precision array to the specified binary file. More...
 
interface  binarydbinterface::writeCharDB
 Writes a character string to the specified binary file. More...
 
interface  binarydbinterface::writeTagDB
 Writes a file tag and checksum to the specified binary file. More...
 
interface  binarydbinterface::readIntDB
 Reads an integer array from a specified binary file. More...
 
interface  binarydbinterface::readFloatDB
 Reads a single precision array from a specified binary file. More...
 
interface  binarydbinterface::readDoubleD4
 Reads a double precision array from a specified binary file. More...
 
interface  binarydbinterface::readDoubleD8
 Reads a big double precision array from a specified binary file. More...
 
interface  binarydbinterface::readCharDB
 Reads a character string from a specified binary file. More...
 
interface  binarydbinterface::readTagDB
 Reads the file tag and checksum from a specified binary file. More...
 
interface  binarydbinterface::setPositionDB
 Sets the read position for a specified binary file. More...
 
interface  binarydbinterface::getPositionDB
 Gets the current position for a specified binary file. More...
 
interface  binarydbinterface::putCharDB
 Writes a character string at a specified file location. More...
 
interface  binarydbinterface::copyBinaryDB
 Copies data from one binary file to another. More...
 

Modules

module  binarydbinterface
 Fortran interface for the C functions for doing binary IO.
 

Functions/Subroutines

subroutine, private binarydbinterface::readdoubledb4 (fileNum, data, nData, status)
 Reads a double precision array from a specified binary file. More...
 
subroutine, private binarydbinterface::readdoubledb8 (fileNum, data, nData, status)
 Reads a big double precision array from a specified binary file. More...
 
subroutine, private binarydbinterface::writedoubledb4 (fileNum, data, nData, status)
 Writes a double precision array to the specified binary file. More...
 
subroutine, private binarydbinterface::writedoubledb8 (fileNum, data, nData, status)
 Writes a big double precision array to the specified binary file. More...
 
subroutine, private binarydbinterface::closebinarydb1 (fileNum, status)
 Closes the specified binary file. More...
 
subroutine, private binarydbinterface::closebinarydb2 (fileNum, forceDelete, status)
 Closes the specified binary file. More...
 
subroutine, private binarydbinterface::readdoubledbfile (fileName, dtype, ndata, data, ierr, jerr)
 Reads a double precision matrix from a named binary file into core. More...
 
subroutine, private binarydbinterface::writedoubledbfile (fileName, dtype, chksum, data, ierr, sbuf)
 Writes a double precision matrix to a named binary file. More...
 

Variables

integer, parameter binarydbinterface::tmp_p = 0
 Opening mode for temporary files. More...
 
integer, parameter binarydbinterface::read_p = 1
 Read file opening mode. More...
 
integer, parameter binarydbinterface::write_p = 2
 Write file opening mode. More...
 
integer, parameter binarydbinterface::append_p = 3
 Append file opening mode. More...
 
integer, parameter binarydbinterface::update_p = 4
 Update file opening mode. More...
 
integer, parameter binarydbinterface::reawri_p = 5
 Read/write file opening mode. More...
 

Detailed Description

Fortran interface for the C functions for doing binary IO.