70 CHARACTER(CHRLEN) :: rcsidentstring
71 INTEGER :: dummyinteger,errorflag
72 REAL(RFREAL) :: dummyrfreal
78 rcsidentstring =
'$RCSfile: RFLU_ReadRestartInfo.F90,v $ $Revision: 1.6 $'
81 'RFLU_ReadRestartInfo.F90')
83 IF ( global%myProcid == masterproc .AND. &
84 global%verbLevel > verbose_none )
THEN
85 WRITE(stdout,
'(A,1X,A)') solver_name, &
86 'Reading restart info file...'
99 IF ( global%flowType == flow_steady )
THEN
100 global%currentIter = 0
102 IF ( fileexists .EQV. .true. )
THEN
104 READ(if_restinfo,*,iostat=errorflag) dummyinteger
106 IF ( errorflag /= err_none )
THEN
109 global%currentIter = dummyinteger
114 global%currentTime = 0.0_rfreal
116 IF ( fileexists .EQV. .true. )
THEN
118 READ(if_restinfo,*,iostat=errorflag) dummyrfreal
120 IF ( errorflag /= err_none )
THEN
123 global%currentTime = dummyrfreal
133 IF ( global%myProcid == masterproc .AND. &
134 global%verbLevel > verbose_low )
THEN
135 IF ( global%flowType == flow_steady )
THEN
136 WRITE(stdout,
'(A,3X,A,1X,I6.6)') solver_name, &
137 'Restart iteration:',global%currentIter
139 WRITE(stdout,
'(A,3X,A,1X,1PE11.5)') solver_name, &
140 'Restart time:',global%currentTime
154 IF ( global%myProcid == masterproc .AND. &
155 global%verbLevel > verbose_none )
THEN
156 WRITE(stdout,
'(A,1X,A)') solver_name, &
157 'Reading restart info file done.'
subroutine registerfunction(global, funName, fileName)
subroutine rflu_openrestartinfo(global, filePosition, fileExists)
subroutine rflu_closerestartinfo(global)
subroutine deregisterfunction(global)
subroutine rflu_readrestartinfo(global)