TreeMig Code
|
Functions/Subroutines | |
subroutine | rwinteger (outint) |
RWInteger | |
subroutine | rwreal (outreal) |
RWReal | |
subroutine | rwchar (outchar) |
RWChar | |
subroutine | rwlogical (outlogical) |
subroutine | checkwriteerror (err) |
CheckWriteError | |
subroutine | checkreaderror (err) |
CheckReadError | |
subroutine | readseveralvaluessametypefromline (nvals, rest, err, vec_integer, vec_real, vec_char, vec_logical) |
ReadSeveralValuesSameTypeFromLine | |
subroutine | readwriteseveralvaluessametypefromline (nvals, err, vec_integer, vec_real, vec_char, vec_logical) |
ReadWriteSeveralValuesSameTypeFromLine | |
subroutine | assignreportintervals (nvals, repints) |
AssignReportIntervals | |
subroutine writelinemod::assignreportintervals | ( | integer, intent(in) | nvals, |
integer, dimension(30), intent(in) | repints ) |
AssignReportIntervals
Assigns the read in report intervals to the array reportintervals
nvals | : number of values |
repInts | : report intervals |
Definition at line 343 of file ReadControlPars.f90.
subroutine writelinemod::checkreaderror | ( | integer, intent(in) | err | ) |
CheckReadError
writes and logs a message and stops if a read error occurred
errv | : error code |
Definition at line 201 of file ReadControlPars.f90.
subroutine writelinemod::checkwriteerror | ( | integer, intent(in) | err | ) |
CheckWriteError
writes and logs a message and stops if a write error occurred
errv | : error code |
Definition at line 181 of file ReadControlPars.f90.
subroutine writelinemod::readseveralvaluessametypefromline | ( | integer, intent(out) | nvals, |
character(len=:), intent(out), allocatable | rest, | ||
integer, intent(out) | err, | ||
integer, dimension(10), intent(out), optional | vec_integer, | ||
real, dimension(10), intent(out), optional | vec_real, | ||
character(len=30), dimension (10), intent(out), optional | vec_char, | ||
logical, dimension(10), intent(out), optional | vec_logical ) |
ReadSeveralValuesSameTypeFromLine
reads in a vector of values of same type from a line in control pars file
nwords | : number of values read in |
err | : error code from reading in |
rest | : non relevant information, e.g. comment in the input line |
vec_INTEGER,vec_REAL,vec_CHAR,vec_LOGICAL |
Definition at line 225 of file ReadControlPars.f90.
subroutine writelinemod::readwriteseveralvaluessametypefromline | ( | integer, intent(out) | nvals, |
integer, intent(out) | err, | ||
integer, dimension(10), intent(out), optional | vec_integer, | ||
real, dimension(10), intent(out), optional | vec_real, | ||
character(len=30), dimension (10), intent(out), optional | vec_char, | ||
logical, dimension(10), intent(out), optional | vec_logical ) |
ReadWriteSeveralValuesSameTypeFromLine
reads in a vector of values of same type from a line in control pars file and stores it in the correct vector. Then write it out to the copy of the control pars file. by explicitly writing the arguments in the subroutine call, one of the vectors vec_Integer, vec_REAL, vec_char, vec_LOGICAL is made present
nwords | : number of values read in |
err | : error code from reading in |
rest | : non relevant information, e.g. comment in the input line |
vec_INTEGER,vec_REAL,vec_CHAR,vec_LOGICAL | : vector to store the read in values |
Definition at line 281 of file ReadControlPars.f90.
subroutine writelinemod::rwchar | ( | character(len=:), intent(out), allocatable | outchar | ) |
RWChar
reads in a character string from control pars file, also reads in rest of line, and writes out both
outChar | : read in character string |
Definition at line 114 of file ReadControlPars.f90.
subroutine writelinemod::rwinteger | ( | integer, intent(out) | outint | ) |
RWInteger
reads in an integer value from control pars file, also reads in rest of line, and writes out both
outInt | read in integer value |
Definition at line 44 of file ReadControlPars.f90.
subroutine writelinemod::rwlogical | ( | logical, intent(out) | outlogical | ) |
reads in a logical value from control pars file, also reads in rest of line, and writes out both
outLogical | : read in logical value |
Definition at line 148 of file ReadControlPars.f90.
subroutine writelinemod::rwreal | ( | real, intent(out) | outreal | ) |
RWReal
reads in a real value from control pars file, also reads in rest of line, and writes out both
outReal | : read in real value |
Definition at line 79 of file ReadControlPars.f90.