FEDEM Solver  R8.0
Source code of the dynamics solver
Public Member Functions | List of all members
binarydbinterface::openBinaryDB Interface Reference

Opens a binary direct access file for read or write. More...

Public Member Functions

subroutine openbinarydb (fileName, fileType, fileNum, status)
 

Detailed Description

Opens a binary direct access file for read or write.

Parameters
[in]fileNameName of file to open
[in]fileTypeType of file to open
  • 0 : Temporary file with no name, automatically deleted when closed
  • 1 : Existing file, opened for read-only
  • 2 : New file, opened for write
  • 3 : Existing file, opened for append
  • 4 : New file, opened for read and write
  • 5 : Existing file, opened for read and write
[out]fileNumAssigned file handle (non-negative number)
[out]statusExit status (negative on error)
  • 0 : Everything is OK
  • -1 : Could not open the specified file
  • -2 : Too many simultaneously opened files

Member Function/Subroutine Documentation

◆ openbinarydb()

subroutine binarydbinterface::openBinaryDB::openbinarydb ( character, dimension(*), intent(in)  fileName,
integer, intent(in)  fileType,
integer, intent(out)  fileNum,
integer, intent(out)  status 
)

The documentation for this interface was generated from the following file: