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

Data type and subroutines for writing FEDEM result files. More...

Data Types

type  rdbmodule::rdbtype
 Data type for a binary result database file. More...
 
interface  rdbmodule::writerdb
 Writes a result quantity to the specified results database file. More...
 

Modules

module  rdbmodule
 Module with data type and subroutines for writing FEDEM result files.
 

Functions/Subroutines

subroutine, public rdbmodule::checkstepsize (rdb, nByteStep, ierr)
 Checks that the estimated number of bytes per time is correct. More...
 
subroutine, public rdbmodule::nullifyrdb (rdb)
 Initializes a rdbmodule::rdbtype object. More...
 
subroutine, public rdbmodule::openheaderfiles (prog, ierr, comment, mFile, mName)
 Opens the temporary header files and write the meta data section. More...
 
subroutine, public rdbmodule::openrdbfile (rdb, ierr, fileName, fileTag)
 Opens a binary results database file. More...
 
subroutine rdbmodule::copyheadertobinaryfile (ifile, nBytes)
 Copies contents of the temporary header files to the binary file. More...
 
subroutine, public rdbmodule::writevardef (rdb, iVar, iFile, cId, cDim, cType, cComp1, cComp2, nBits)
 Writes a variable definition. More...
 
subroutine, public rdbmodule::writeitgdef (rdb, itemGroup, iFile, cId)
 Writes the beginning of an item group definition. More...
 
subroutine, public rdbmodule::writetimestepheader (rdb)
 Writes time step definition to the temporary header files. More...
 
subroutine, public rdbmodule::writetimestepdb (rdb, iStep, time, ierr, openTmp)
 Writes current time step to the specified results database file. More...
 
subroutine rdbmodule::writeboolvardb (rdb, var, ierr)
 Writes a bolean variable to the specified results database file. More...
 
subroutine rdbmodule::writeintvardb (rdb, var, ierr)
 Writes an integer variable to the specified results database file. More...
 
subroutine rdbmodule::writeintarraydb (rdb, array, ierr)
 Writes an integer array to the specified results database file. More...
 
subroutine rdbmodule::writefloatarray1db (rdb, array, ierr, writeAsDouble)
 Writes a 1D float array to the specified results database file. More...
 
subroutine rdbmodule::writefloatarray2db (rdb, array, ierr)
 Writes a 2D float array to the specified results database file. More...
 
subroutine rdbmodule::writedoublevardb (rdb, var, ierr, writeAsDouble)
 Writes a double variable to the specified results database file. More...
 
subroutine rdbmodule::writedoublearray1db (rdb, array, ierr, writeAsDouble)
 Writes a 1D double array to the specified results database file. More...
 
subroutine rdbmodule::writedoublearray2db (rdb, array, ierr, writeAsDouble)
 Writes a 2D double array to the specified results database file. More...
 
subroutine, public rdbmodule::flushrdbfile (rdb, ierr)
 Flushes the specified results database file to disk. More...
 
subroutine, public rdbmodule::closerdbfile (rdb, ierr, retainIfEmpty, haveData)
 Closes the specified results database file. More...
 

Variables

integer, save, private rdbmodule::incr = -1
 File increment number. More...
 
integer, save, public rdbmodule::ivard = 65
 Temporary variable description file. More...
 
integer, save, public rdbmodule::iitem = 66
 Temporary item group description file. More...
 
integer, save, public rdbmodule::idatd = 67
 Temporary data description file. More...
 
real(sp), dimension(:), allocatable, save rdbmodule::work
 For double-to-single casting. More...
 

Detailed Description

Data type and subroutines for writing FEDEM result files.