fileio_base_mod::fileio_base Type Reference

FileIO class. More...

Inheritance diagram for fileio_base_mod::fileio_base:
logging_base_mod::logging_base fileio_binary_mod::fileio_binary fileio_gnuplot_mod::fileio_gnuplot fileio_vtk_mod::fileio_vtk fileio_xdmf_mod::fileio_xdmf

Variables

type(logging_baseformat
 i/o file format More...
 
character(len=512) linebuf
 char buffer fo field data More...
 
character(len=512) tslinebuf
 char buffer for time step data More...
 
character(len=fnamlenfilename
 file name without extension More...
 
character(len=fpatlenpath
 file path without filename More...
 
character(len=fextlenextension
 file name extension More...
 
logical cartcoords
 output cartesian coordinates More...
 
integer unit
 i/o unit More...
 
integer error_io
 i/o error code More...
 
integer step
 counter for output steps More...
 
integer count
 number of output steps More...
 
integer cycles
 number of output files More...
 
integer dtwall
 wall clock time difference More...
 
integer realsize
 byte size of real numbers More...
 
integer intsize
 byte size of integer numbers More...
 
integer inum
 
integer jnum
 mesh extent More...
 
integer knum
 
integer(kind=8) offset
 header offset (MPI see below), must be 8 byte for VTK More...
 
real stoptime
 final simulation time for data output More...
 
real starttime
 final simulation time for data output More...
 
real time
 output time More...
 
real, dimension(:,:,:,:), pointer binout
 binary data output buffer More...
 

VTK specific variables

character(len=32) buf
 buffer for character i/o More...
 
character(len=12) realfmt
 real format string More...
 
character(len=14) endianness
 endianness string More...
 
character(len=14) endian
 endianness string More...
 
real, dimension(:,:,:,:), pointer vtkcoords
 VTK coordinate data. More...
 

GNUPLOT specific variables

character(len=512) heading
 char buffer for heading (field data) More...
 
character(len=512) tsheading
 char buffer for heading (time step data) More...
 
character(len=64) fmtstr
 format string More...
 
character(len=64) linefmt
 output line format string More...
 
integer cols
 number of output columns More...
 
integer tscols
 number of output columns for time step data More...
 
integer maxcols
 upper limit for output cols (MAXCOLS < LEN(linebuf)/FLEN) More...
 
integer decs
 decimal places for real number output More...
 
integer flen
 output field length More...
 
integer linelen
 length of a line More...
 
integer tslinelen
 length of a line for time step data More...
 

HDF specific variables

integer(hid_t) fid
 file id More...
 
integer(hid_t) xferid
 xfer id More...
 
type(output_typ), dimension(:), pointer output
 list of output fields More...
 
type(tsoutput_typ), dimension(:), pointer tsoutput
 list of scalar time step output More...
 
real, dimension(:,:), pointer bflux
 boundary flux output buffer More...
 
real walltime
 adds output before walltime is More...
 

Variables in Parallel Mode

logical multfiles
 spread files across nodes More...
 
integer handle
 MPI file handle. More...
 
integer bufsize
 output data buffer size More...
 
integer cbufsize
 corner output data buffer size More...
 
integer basictype
 data type for points More...
 
integer filetype
 data type for data i/o More...
 
integer, dimension(mpi_status_size) status
 MPI i/o status record. More...
 
integer(kind=mpi_offset_kind) offset
 skip header bytes More...
 

GNUPLOT specific variables

integer blocknum
 number of output blocks More...
 
integer(kind=mpi_address_kind) realext
 real data type extent More...
 
integer(kind=mpi_address_kind) intext
 integer data type extent More...
 
character, dimension(:,:), pointer outbuf
 output buffer More...
 

BINARY specific variables

logical first
 true if this is the first output More...
 

VTK specific variables

character(len=64), dimension(:), pointer extent
 extent of all pieces in VTK More...
 
integer cfiletype
 file data type for corner i/o More...
 
integer, dimension(:), pointer disp
 array of displacements More...
 
PROCEDURE initfileio
 
PROCEDURE(WriteHeader), deferred writeheader
 
PROCEDURE(WriteDataset), deferred writedataset
 
PROCEDURE adjusttimestep
 
PROCEDURE finalize_base
 
PROCEDURE(Finalize), deferred finalize
 
PROCEDURE getfilename
 
PROCEDURE getbasename
 
PROCEDURE makemultstr
 
PROCEDURE inctime
 

Additional Inherited Members

- Public Attributes inherited from logging_base_mod::logging_base
integer, public err
 error code More...
 

Detailed Description

FileIO class.

Definition at line 116 of file fileio_base.f90.

Member Function/Subroutine Documentation

◆ adjusttimestep()

PROCEDURE fileio_base_mod::fileio_base::adjusttimestep ( )
private

Definition at line 214 of file fileio_base.f90.

◆ finalize()

PROCEDURE (Finalize), deferred fileio_base_mod::fileio_base::finalize ( )
private

Definition at line 216 of file fileio_base.f90.

◆ finalize_base()

PROCEDURE fileio_base_mod::fileio_base::finalize_base ( )
private

Definition at line 215 of file fileio_base.f90.

◆ getbasename()

PROCEDURE fileio_base_mod::fileio_base::getbasename ( )
private

Definition at line 218 of file fileio_base.f90.

◆ getfilename()

PROCEDURE fileio_base_mod::fileio_base::getfilename ( )
private

Definition at line 217 of file fileio_base.f90.

◆ inctime()

PROCEDURE fileio_base_mod::fileio_base::inctime ( )
private

Definition at line 220 of file fileio_base.f90.

◆ initfileio()

PROCEDURE fileio_base_mod::fileio_base::initfileio ( )
private

Definition at line 211 of file fileio_base.f90.

◆ makemultstr()

PROCEDURE fileio_base_mod::fileio_base::makemultstr ( )
private

Definition at line 219 of file fileio_base.f90.

◆ writedataset()

PROCEDURE (WriteDataset), deferred fileio_base_mod::fileio_base::writedataset ( )
private

Definition at line 213 of file fileio_base.f90.

◆ writeheader()

PROCEDURE (WriteHeader), deferred fileio_base_mod::fileio_base::writeheader ( )
private

Definition at line 212 of file fileio_base.f90.

Member Data Documentation

◆ basictype

integer fileio_base_mod::fileio_base::basictype
private

data type for points

Definition at line 184 of file fileio_base.f90.

◆ bflux

real, dimension(:,:), pointer fileio_base_mod::fileio_base::bflux
private

boundary flux output buffer

Definition at line 175 of file fileio_base.f90.

◆ binout

real, dimension(:,:,:,:), pointer fileio_base_mod::fileio_base::binout
private

binary data output buffer

Definition at line 141 of file fileio_base.f90.

◆ blocknum

integer fileio_base_mod::fileio_base::blocknum
private

number of output blocks

Definition at line 191 of file fileio_base.f90.

◆ buf

character(len=32) fileio_base_mod::fileio_base::buf
private

buffer for character i/o

Definition at line 145 of file fileio_base.f90.

◆ bufsize

integer fileio_base_mod::fileio_base::bufsize
private

output data buffer size

Definition at line 182 of file fileio_base.f90.

◆ cartcoords

logical fileio_base_mod::fileio_base::cartcoords
private

output cartesian coordinates

Definition at line 124 of file fileio_base.f90.

◆ cbufsize

integer fileio_base_mod::fileio_base::cbufsize
private

corner output data buffer size

Definition at line 183 of file fileio_base.f90.

◆ cfiletype

integer fileio_base_mod::fileio_base::cfiletype
private

file data type for corner i/o

Definition at line 205 of file fileio_base.f90.

◆ cols

integer fileio_base_mod::fileio_base::cols
private

number of output columns

Definition at line 157 of file fileio_base.f90.

◆ count

integer fileio_base_mod::fileio_base::count
private

number of output steps

Definition at line 128 of file fileio_base.f90.

◆ cycles

integer fileio_base_mod::fileio_base::cycles
private

number of output files

Definition at line 129 of file fileio_base.f90.

◆ decs

integer fileio_base_mod::fileio_base::decs
private

decimal places for real number output

Definition at line 161 of file fileio_base.f90.

◆ disp

integer, dimension(:), pointer fileio_base_mod::fileio_base::disp
private

array of displacements

Definition at line 206 of file fileio_base.f90.

◆ dtwall

integer fileio_base_mod::fileio_base::dtwall
private

wall clock time difference

Definition at line 130 of file fileio_base.f90.

◆ endian

character(len=14) fileio_base_mod::fileio_base::endian
private

endianness string

Definition at line 148 of file fileio_base.f90.

◆ endianness

character(len=14) fileio_base_mod::fileio_base::endianness
private

endianness string

Definition at line 147 of file fileio_base.f90.

◆ error_io

integer fileio_base_mod::fileio_base::error_io
private

i/o error code

Definition at line 126 of file fileio_base.f90.

◆ extension

character(len=fextlen) fileio_base_mod::fileio_base::extension
private

file name extension

Definition at line 123 of file fileio_base.f90.

◆ extent

character(len=64), dimension(:), pointer fileio_base_mod::fileio_base::extent
private

extent of all pieces in VTK

Definition at line 202 of file fileio_base.f90.

◆ fid

integer(hid_t) fileio_base_mod::fileio_base::fid
private

file id

Definition at line 168 of file fileio_base.f90.

◆ filename

character(len=fnamlen) fileio_base_mod::fileio_base::filename
private

file name without extension

Definition at line 121 of file fileio_base.f90.

◆ filetype

integer fileio_base_mod::fileio_base::filetype
private

data type for data i/o

Definition at line 185 of file fileio_base.f90.

◆ first

logical fileio_base_mod::fileio_base::first
private

true if this is the first output

Definition at line 199 of file fileio_base.f90.

◆ flen

integer fileio_base_mod::fileio_base::flen
private

output field length

Definition at line 162 of file fileio_base.f90.

◆ fmtstr

character(len=64) fileio_base_mod::fileio_base::fmtstr
private

format string

Definition at line 155 of file fileio_base.f90.

◆ format

type(logging_base) fileio_base_mod::fileio_base::format
private

i/o file format

Definition at line 118 of file fileio_base.f90.

◆ handle

integer fileio_base_mod::fileio_base::handle
private

MPI file handle.

Definition at line 181 of file fileio_base.f90.

◆ heading

character(len=512) fileio_base_mod::fileio_base::heading
private

char buffer for heading (field data)

Definition at line 153 of file fileio_base.f90.

◆ intext

integer(kind=mpi_address_kind) fileio_base_mod::fileio_base::intext
private

integer data type extent

Definition at line 192 of file fileio_base.f90.

◆ intsize

integer fileio_base_mod::fileio_base::intsize
private

byte size of integer numbers

Definition at line 132 of file fileio_base.f90.

◆ inum

integer fileio_base_mod::fileio_base::inum
private

Definition at line 133 of file fileio_base.f90.

◆ jnum

integer fileio_base_mod::fileio_base::jnum
private

mesh extent

Definition at line 133 of file fileio_base.f90.

◆ knum

integer fileio_base_mod::fileio_base::knum
private

Definition at line 133 of file fileio_base.f90.

◆ linebuf

character(len=512) fileio_base_mod::fileio_base::linebuf
private

char buffer fo field data

Definition at line 119 of file fileio_base.f90.

◆ linefmt

character(len=64) fileio_base_mod::fileio_base::linefmt
private

output line format string

Definition at line 156 of file fileio_base.f90.

◆ linelen

integer fileio_base_mod::fileio_base::linelen
private

length of a line

Definition at line 163 of file fileio_base.f90.

◆ maxcols

integer fileio_base_mod::fileio_base::maxcols
private

upper limit for output cols (MAXCOLS < LEN(linebuf)/FLEN)

Definition at line 159 of file fileio_base.f90.

◆ multfiles

logical fileio_base_mod::fileio_base::multfiles
private

spread files across nodes

Definition at line 180 of file fileio_base.f90.

◆ offset [1/2]

integer(kind=8) fileio_base_mod::fileio_base::offset
private

header offset (MPI see below), must be 8 byte for VTK

Definition at line 136 of file fileio_base.f90.

◆ offset [2/2]

integer(kind=mpi_offset_kind) fileio_base_mod::fileio_base::offset
private

skip header bytes

Definition at line 188 of file fileio_base.f90.

◆ outbuf

character, dimension(:,:), pointer fileio_base_mod::fileio_base::outbuf
private

output buffer

Definition at line 195 of file fileio_base.f90.

◆ output

type(output_typ), dimension(:), pointer fileio_base_mod::fileio_base::output
private

list of output fields

Definition at line 171 of file fileio_base.f90.

◆ path

character(len=fpatlen) fileio_base_mod::fileio_base::path
private

file path without filename

Definition at line 122 of file fileio_base.f90.

◆ realext

integer(kind=mpi_address_kind) fileio_base_mod::fileio_base::realext
private

real data type extent

Definition at line 192 of file fileio_base.f90.

◆ realfmt

character(len=12) fileio_base_mod::fileio_base::realfmt
private

real format string

Definition at line 146 of file fileio_base.f90.

◆ realsize

integer fileio_base_mod::fileio_base::realsize
private

byte size of real numbers

Definition at line 131 of file fileio_base.f90.

◆ starttime

real fileio_base_mod::fileio_base::starttime
private

final simulation time for data output

Definition at line 139 of file fileio_base.f90.

◆ status

integer, dimension(mpi_status_size) fileio_base_mod::fileio_base::status
private

MPI i/o status record.

Definition at line 186 of file fileio_base.f90.

◆ step

integer fileio_base_mod::fileio_base::step
private

counter for output steps

Definition at line 127 of file fileio_base.f90.

◆ stoptime

real fileio_base_mod::fileio_base::stoptime
private

final simulation time for data output

Definition at line 138 of file fileio_base.f90.

◆ time

real fileio_base_mod::fileio_base::time
private

output time

Definition at line 140 of file fileio_base.f90.

◆ tscols

integer fileio_base_mod::fileio_base::tscols
private

number of output columns for time step data

Definition at line 158 of file fileio_base.f90.

◆ tsheading

character(len=512) fileio_base_mod::fileio_base::tsheading
private

char buffer for heading (time step data)

Definition at line 154 of file fileio_base.f90.

◆ tslinebuf

character(len=512) fileio_base_mod::fileio_base::tslinebuf
private

char buffer for time step data

Definition at line 120 of file fileio_base.f90.

◆ tslinelen

integer fileio_base_mod::fileio_base::tslinelen
private

length of a line for time step data

Definition at line 164 of file fileio_base.f90.

◆ tsoutput

type(tsoutput_typ), dimension(:), pointer fileio_base_mod::fileio_base::tsoutput
private

list of scalar time step output

Definition at line 173 of file fileio_base.f90.

◆ unit

integer fileio_base_mod::fileio_base::unit
private

i/o unit

Definition at line 125 of file fileio_base.f90.

◆ vtkcoords

real, dimension(:,:,:,:), pointer fileio_base_mod::fileio_base::vtkcoords
private

VTK coordinate data.

Definition at line 149 of file fileio_base.f90.

◆ walltime

real fileio_base_mod::fileio_base::walltime
private

adds output before walltime is

Definition at line 177 of file fileio_base.f90.

◆ xferid

integer(hid_t) fileio_base_mod::fileio_base::xferid
private

xfer id

Definition at line 169 of file fileio_base.f90.


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