fileio_base.f90 File Reference

Go to the source code of this file.

Data Types

type  fileio_base_mod::valptr_typ
 output-pointer for array data (binary,gnuplot,vtk) More...
 
type  fileio_base_mod::output_typ
 
type  fileio_base_mod::tsoutput_typ
 output-pointer for time step scalar data (gnuplot) More...
 
type  fileio_base_mod::fileio_base
 FileIO class. More...
 
interface  fileio_base_mod::WriteDataset
 
interface  fileio_base_mod::WriteHeader
 
interface  fileio_base_mod::Finalize
 

Modules

module  fileio_base_mod
 Generic file I/O module.
 

Functions/Subroutines

subroutine fileio_base_mod::initfileio (this, Mesh, Physics, Timedisc, Sources, config, IO, fmtname, fext)
 Generic constructor for file I/O. More...
 
pure subroutine fileio_base_mod::inctime (this)
 Increments the counter for timesteps and sets the time for next output. More...
 
pure subroutine fileio_base_mod::adjusttimestep (this, time, dt, dtcause)
 Adjust the current timestep. More...
 
character(len=fmltlen) function fileio_base_mod::makemultstr (this, fn)
 Get a file label (multiples files in parallel mode) without filenumber => use GetRank; with filenumber < 0 => empty label. More...
 
character(len=256) function fileio_base_mod::getbasename (this, fn)
 Get the current file name without path e.g. important for vtk (pvts files) More...
 
character(len=256) function fileio_base_mod::getfilename (this, fn)
 Get the current file name. More...
 
subroutine fileio_base_mod::finalize_base (this)
 Generic deconstructor of the file I/O. More...
 

Variables

integer, parameter, public fileio_base_mod::binary = 1
 
integer, parameter, public fileio_base_mod::gnuplot = 2
 
integer, parameter, public fileio_base_mod::vtk = 4
 
integer, parameter, public fileio_base_mod::xdmf = 7
 
integer, save fileio_base_mod::lastunit = 10
 

Private Attributes

file name and extension lengths

integer, parameter fileio_base_mod::fextlen = 4
 file name extension length More...
 
integer, parameter fileio_base_mod::fmltlen = 5
 length of multi process string (parallel mode only) More...
 
integer, parameter fileio_base_mod::fcyclen = 5
 length of timestep string More...
 
integer, parameter fileio_base_mod::fnamlen = 256
 file name length (without any extension) More...
 
integer, parameter fileio_base_mod::fpatlen = 1024
 file path length (without file name) More...
 

handling multiple files in parallel mode

character(len=fmltlen), save fileio_base_mod::fmextstr = ""
 multi process string, overwritten below More...
 
integer, parameter fileio_base_mod::maxmltfiles = 1000
 max. number files per time step (parallel mode with one file per node) More...
 

handling multiple data files with time step in their names

integer, parameter fileio_base_mod::maxcycles = 10000
 max. number of data files (not counting multiple files per time step in parallel mode) More...
 
character(len=32), save fileio_base_mod::cycfmt
 format string for cycles More...
 

Public Attributes

file status and access modes

integer, parameter, public fileio_base_mod::readonly = 1
 readonly access More...
 
integer, parameter, public fileio_base_mod::readend = 2
 readonly access at end More...
 
integer, parameter, public fileio_base_mod::replace = 3
 read/write access replacing file More...
 
integer, parameter, public fileio_base_mod::append = 4
 read/write access at end More...
 

file formats

character(len=9), parameter fileio_base_mod::ascii = "formatted"
 for ASCII data More...
 
character(len=11), parameter fileio_base_mod::bin = "unformatted"
 for BINARY data More...