IOOps

Fortran module IOOps: July 2017 (dj, updated)

Handling of filenames, closing and opening units

Authors

    1. Jaschke

      1. Wall

Details

Defines a set of methods for input/output inside the MPS.

The following public subroutines / functions are defined depending on the data type.

procedure

include.f90

append_basename

X

create_filename

X

create_IOObject

X

delete_file

X

io_get_obsin

X

io_get_tconv

X

io_get_quench

X

io_get_obs

X

io_get_tobs

X

io_get_ftobs

X

io_get_measmpo

X

io_get_ftconv

X

io_get_ftquench

X

read_n

X

IOOps_f90.append_basename_real()[source]

fortran-subroutine - July 2017 (dj, updated) Append to a file name the character string partName followed by the value partValue to partDigs digits for real numbers.

Arguments

basenameCHARACTER(*), inout

The base string where additional information is attached to.

partnameCHARACTER(*), in

string to be appended to the basename.

partdigsINTEGER, in

Number of digits in floating point number.

partvalueREAL, in

Float to be appended to the basename after the partname.

Source Code

show / hide f90 code
IOOps_f90.append_basename_integer()[source]

fortran-subroutine - July 2017 (dj, updated) Append to a file name the character string partName followed by the value partValue for integers.

Arguments

basenameCHARACTER(*), inout

The base string where additional information is attached to.

partnameCHARACTER(*), in

string to be appended to the basename.

partvalueINTEGER, in

integer to be appended to the basename after the partname.

Source Code

show / hide f90 code
IOOps_f90.append_basename_string()[source]

fortran-subroutine - July 2017 (dj, updated) Append to a file name the character string partName

Arguments

basenameCHARACTER(*), inout

Append to the input string the string partname

partnameCHARACTER(*), in

string to be appended to the basename

Source Code

show / hide f90 code
IOOps_f90.create_IOObject()[source]

fortran-subroutine - August 2016 (dj) Initialize IOObject.

Arguments

IOObjTYPE(IOObj), out

Object containing all information about directories and filenames on exit.

writedirCHARACTER(132), in

Name of the temporary directory for simulations.

outdirCHARACTER(132), in

Name of the output directory for simulations.

job_idCHARACTER(132), in

Name of the set of simulations.

unique_idCHARACTER(132), in

Unique identifier for the specific simulation.

qtidINTEGER, in

Id for the trajectory if open quantum system with quantum trajectories.

Details

(defined in IOOps.f90)

Source Code

show / hide f90 code
IOOps_f90.delete_file()[source]

fortran-subroutine - August 2017 (dj) Delete the file.

Arguments

flnmCHARACTER(*), in

This file should be deleted.

unitINTEGER, in

Open file on this unit to delete it.

Source Code

show / hide f90 code
IOOps_f90.io_get_obsin()[source]

fortran-function - ?? (mlw) Build filename for reading observable setup in statics.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

extrastubCHARACTER(*), in

Additional string attached to filename.

Source Code

show / hide f90 code
IOOps_f90.io_get_tconv()[source]

fortran-function - ?? (mlw) Build filename for ii-th convergence parameters in time evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier for the ii-th quench.

Source Code

show / hide f90 code
IOOps_f90.io_get_quench()[source]

fortran-function - ?? (mlw) Build filename for ii-th quench in time evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier for the ii-th quench.

Source Code

show / hide f90 code
IOOps_f90.io_get_obs()[source]

fortran-function - ?? (mlw) Build filename for ii-th output in statics.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier for the ground and excited states.

jjINTEGER, in

Integer identifier for the convergence parameter.

Source Code

show / hide f90 code
IOOps_f90.io_get_tobs()[source]

fortran-function - ?? (mlw) Build filename for ii-th output in time evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier for the ii-th quench.

Source Code

show / hide f90 code
IOOps_f90.io_get_ftobs()[source]

fortran-function - ?? (mlw) Build filename for ii-th output in time evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier for the ii-th quench.

Source Code

show / hide f90 code
IOOps_f90.io_get_measmpo()[source]

fortran-function - ?? (mlw) Build filename for measurement MPOs.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier.

Source Code

show / hide f90 code
IOOps_f90.io_get_ftconv()[source]

fortran-function - ?? (mlw) Build filename for ii-th convergence parameters in finite T evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier.

Source Code

show / hide f90 code
IOOps_f90.io_get_ftquench()[source]

fortran-function - ?? (mlw) Build filename for ii-th quench in time evolution.

Arguments

IOObjTYPE(IOObject), in

Object containing all necessary information to build filenames.

iiINTEGER, in

Integer identifier.

Source Code

show / hide f90 code
IOOps_f90.read_n_integer()[source]

fortran-subroutine - July 2017 (dj, updated) Read n contiguous integer numbers from an open file.

Arguments

vecinteger(*), out

The vector to store the values read from the file.

nnINTEGER, in

Number of entries in the vector.

unitINTEGER, in

The filehandle is open on this unit.

Source Code

show / hide f90 code
IOOps_f90.read_n_real()[source]

fortran-subroutine - July 2017 (dj, updated) Read n contiguous real(KIND=rKind) numbers from an open file.

Arguments

vecreal(KIND=rKind)(*), out

The vector to store the values read from the file.

nnINTEGER, in

Number of entries in the vector.

unitINTEGER, in

The filehandle is open on this unit.

Source Code

show / hide f90 code