|
FEDEM Solver
R8.0
Source code of the dynamics solver
|
Fortran interface for the C functions for doing binary IO. More...
Data Types | |
| interface | readdoubledb |
| Reads a double precision array from the specified binary file. More... | |
| interface | writedoubledb |
| Writes a double precision array to the specified binary file. More... | |
| interface | closebinarydb |
| Closes the specified binary file. More... | |
| interface | openBinaryDB |
| Opens a binary direct access file for read or write. More... | |
| interface | closeBinary_DB |
| Closes the specified binary file. More... | |
| interface | deleteDB |
| Deletes the named file. More... | |
| interface | setBufDB |
| Allocates an in-core buffer for the specified binary file. More... | |
| interface | flushBinaryDB |
| Flushes the in-core buffer of the specified binary file to disk. More... | |
| interface | writeIntDB |
| Writes an integer array to the specified binary file. More... | |
| interface | writeFloatDB |
| Writes a single precision array to the specified binary file. More... | |
| interface | writeDoubleD4 |
| Writes a double precision array to the specified binary file. More... | |
| interface | writeDoubleD8 |
| Writes a big double precision array to the specified binary file. More... | |
| interface | writeCharDB |
| Writes a character string to the specified binary file. More... | |
| interface | writeTagDB |
| Writes a file tag and checksum to the specified binary file. More... | |
| interface | readIntDB |
| Reads an integer array from a specified binary file. More... | |
| interface | readFloatDB |
| Reads a single precision array from a specified binary file. More... | |
| interface | readDoubleD4 |
| Reads a double precision array from a specified binary file. More... | |
| interface | readDoubleD8 |
| Reads a big double precision array from a specified binary file. More... | |
| interface | readCharDB |
| Reads a character string from a specified binary file. More... | |
| interface | readTagDB |
| Reads the file tag and checksum from a specified binary file. More... | |
| interface | setPositionDB |
| Sets the read position for a specified binary file. More... | |
| interface | getPositionDB |
| Gets the current position for a specified binary file. More... | |
| interface | putCharDB |
| Writes a character string at a specified file location. More... | |
| interface | copyBinaryDB |
| Copies data from one binary file to another. More... | |
Functions/Subroutines | |
| subroutine, private | readdoubledb4 (fileNum, data, nData, status) |
| Reads a double precision array from a specified binary file. More... | |
| subroutine, private | readdoubledb8 (fileNum, data, nData, status) |
| Reads a big double precision array from a specified binary file. More... | |
| subroutine, private | writedoubledb4 (fileNum, data, nData, status) |
| Writes a double precision array to the specified binary file. More... | |
| subroutine, private | writedoubledb8 (fileNum, data, nData, status) |
| Writes a big double precision array to the specified binary file. More... | |
| subroutine, private | closebinarydb1 (fileNum, status) |
| Closes the specified binary file. More... | |
| subroutine, private | closebinarydb2 (fileNum, forceDelete, status) |
| Closes the specified binary file. More... | |
| subroutine, private | readdoubledbfile (fileName, dtype, ndata, data, ierr, jerr) |
| Reads a double precision matrix from a named binary file into core. More... | |
| subroutine, private | writedoubledbfile (fileName, dtype, chksum, data, ierr, sbuf) |
| Writes a double precision matrix to a named binary file. More... | |
Variables | |
| integer, parameter | tmp_p = 0 |
| Opening mode for temporary files. More... | |
| integer, parameter | read_p = 1 |
| Read file opening mode. More... | |
| integer, parameter | write_p = 2 |
| Write file opening mode. More... | |
| integer, parameter | append_p = 3 |
| Append file opening mode. More... | |
| integer, parameter | update_p = 4 |
| Update file opening mode. More... | |
| integer, parameter | reawri_p = 5 |
| Read/write file opening mode. More... | |
Fortran interface for the C functions for doing binary IO.
|
private |
Closes the specified binary file.
| [in] | fileNum | File handle for the file to close |
| [out] | status | Exit status (negative on error) |
|
private |
Closes the specified binary file.
| [in] | fileNum | File handle for the file to close |
| [in] | forceDelete | If .true., force deleting the file after close |
| [out] | status | Exit status (negative on error) |
|
private |
Reads a double precision array from a specified binary file.
| [in] | fileNum | File handle for the file to read from |
| [in] | data | The real array to read into |
| [in] | nData | Number of words to read |
| [out] | status | Exit status |
|
private |
Reads a big double precision array from a specified binary file.
| [in] | fileNum | File handle for the file to read from |
| [in] | data | The real array to read into |
| [in] | nData | Number of words to read |
| [out] | status | Exit status |
|
private |
Reads a double precision matrix from a named binary file into core.
| [in] | fileName | Name of the file to read |
| [in] | dtype | File tag identifying the correct data type |
| [in] | ndata | Number of words to read |
| [in] | data | The real array to read into |
| ierr | Error flag | |
| jerr | Optional error flag for the read operation |
date 21 Dec 2016
|
private |
Writes a double precision array to the specified binary file.
| [in] | fileNum | File handle for the file to write to |
| [in] | data | The real array to write |
| [in] | nData | Number of words to write |
| [out] | status | Exit status |
|
private |
Writes a big double precision array to the specified binary file.
| [in] | fileNum | File handle for the file to write to |
| [in] | data | The real array to write |
| [in] | nData | Number of words to write |
| [out] | status | Exit status |
|
private |
Writes a double precision matrix to a named binary file.
| [in] | fileName | Name of the file to write |
| [in] | dtype | File tag identifying the data type to write |
| [in] | chksum | File checksum |
| [in] | data | The real array to write |
| ierr | Error flag | |
| sbuf | Single precision buffer used for type casting |
| integer, parameter binarydbinterface::append_p = 3 |
Append file opening mode.
| integer, parameter binarydbinterface::read_p = 1 |
Read file opening mode.
| integer, parameter binarydbinterface::reawri_p = 5 |
Read/write file opening mode.
| integer, parameter binarydbinterface::tmp_p = 0 |
Opening mode for temporary files.
| integer, parameter binarydbinterface::update_p = 4 |
Update file opening mode.
| integer, parameter binarydbinterface::write_p = 2 |
Write file opening mode.