69 LOGICAL,
INTENT(OUT) :: fileexists
70 INTEGER,
INTENT(IN) :: filestatus
77 CHARACTER(CHRLEN) :: ifilename,rcsidentstring
84 rcsidentstring =
'$RCSfile: RFLU_OpenPostInfo.F90,v $ $Revision: 1.6 $'
87 'RFLU_OpenPostInfo.F90')
89 IF ( global%myProcid == masterproc .AND. &
90 global%verbLevel > verbose_none )
THEN
91 WRITE(stdout,
'(A,1X,A)') solver_name,
'Opening post-processor info file...'
98 IF ( global%myProcid == masterproc )
THEN
101 IF ( filestatus == file_status_unknown )
THEN
102 OPEN(if_postinfo,file=ifilename,
form=
'FORMATTED',
status=
'UNKNOWN', &
104 global%error = errorflag
105 IF ( global%error /= 0 )
THEN
106 CALL
errorstop(global,err_file_open,__line__,
'File: '//trim(ifilename))
110 ELSE IF ( filestatus == file_status_old )
THEN
111 INQUIRE(file=ifilename,exist=fileexists)
113 IF ( fileexists .EQV. .true. )
THEN
114 OPEN(if_postinfo,file=ifilename,
form=
'FORMATTED',
status=
'OLD', &
116 global%error = errorflag
117 IF ( global%error /= 0 )
THEN
118 CALL
errorstop(global,err_file_open,__line__, &
119 'File: '//trim(ifilename))
129 IF ( global%myProcid == masterproc .AND. &
130 global%verbLevel > verbose_none )
THEN
131 WRITE(stdout,
'(A,1X,A)') solver_name, &
132 'Opening post-processor info file done.'
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine buildfilenameplain(global, dest, ext, fileName)
subroutine rflu_openpostinfo(global, fileStatus, fileExists)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE form
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)