60 CHARACTER(CHRLEN),
PRIVATE :: &
61 RCSIdentString =
'$RCSfile: ModBuildFileNames.F90,v $ $Revision: 1.5 $'
120 CHARACTER(CHRLEN) :: deststring,regidstring
126 CHARACTER(*),
INTENT(IN) :: ext
127 INTEGER,
INTENT(IN) :: dest,regid
130 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
137 'ModBuildFileNames.F90')
143 IF ( dest == filedest_indir )
THEN
144 WRITE(deststring,
'(A)') global%inDir
145 ELSE IF ( dest == filedest_outdir )
THEN
146 WRITE(deststring,
'(A)') global%outDir
148 CALL
errorstop(global,err_filedest_invalid,&
154 WRITE(filename,
'(A)') trim(deststring)//trim(global%caseName)// &
155 trim(ext)//
'_'//trim(regidstring)
203 CHARACTER(CHRLEN) :: deststring
209 CHARACTER(*),
INTENT(IN) :: ext
210 INTEGER,
INTENT(IN) :: dest
213 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
220 'ModBuildFileNames.F90')
226 IF ( dest == filedest_indir )
THEN
227 WRITE(deststring,
'(A)') global%inDir
228 ELSE IF ( dest == filedest_outdir )
THEN
229 WRITE(deststring,
'(A)') global%outDir
231 CALL
errorstop(global,err_filedest_invalid,&
235 WRITE(filename,
'(A)') trim(deststring)//trim(global%caseName)//trim(ext)
284 CHARACTER(CHRLEN) :: deststring
290 CHARACTER(*),
INTENT(IN) :: ext
291 INTEGER,
INTENT(IN) :: dest,it
294 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
301 'ModBuildFileNames.F90')
307 IF ( dest == filedest_indir )
THEN
308 WRITE(deststring,
'(A)') global%inDir
309 ELSE IF ( dest == filedest_outdir )
THEN
310 WRITE(deststring,
'(A)') global%outDir
312 CALL
errorstop(global,err_filedest_invalid,&
316 WRITE(filename,
'(A,A,I6.6,A)') &
317 trim(deststring)//trim(global%caseName),
'_',it,trim(ext)
366 CHARACTER(CHRLEN) :: deststring
372 CHARACTER(*),
INTENT(IN) :: ext
373 INTEGER,
INTENT(IN) :: dest
374 REAL(RFREAL),
INTENT(IN) :: tm
377 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
384 'ModBuildFileNames.F90')
390 IF ( dest == filedest_indir )
THEN
391 WRITE(deststring,
'(A)') global%inDir
392 ELSE IF ( dest == filedest_outdir )
THEN
393 WRITE(deststring,
'(A)') global%outDir
395 CALL
errorstop(global,err_filedest_invalid,&
399 WRITE(filename,
'(A,A,1PE11.5,A)') &
400 trim(deststring)//trim(global%caseName),
'_',tm,trim(ext)
450 CHARACTER(CHRLEN) :: deststring,regidstring
456 CHARACTER(*),
INTENT(IN) :: ext
457 INTEGER,
INTENT(IN) :: dest,regid,it
460 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
467 'ModBuildFileNames.F90')
473 IF ( dest == filedest_indir )
THEN
474 WRITE(deststring,
'(A)') global%inDir
475 ELSE IF ( dest == filedest_outdir )
THEN
476 WRITE(deststring,
'(A)') global%outDir
478 CALL
errorstop(global,err_filedest_invalid,&
484 WRITE(filename,
'(A,I6.6)') trim(deststring)//trim(global%caseName)// &
485 trim(ext)//
'_'//trim(regidstring)//
'_',it
534 CHARACTER(CHRLEN) :: deststring,regidstring
540 CHARACTER(*),
INTENT(IN) :: ext
541 INTEGER,
INTENT(IN) :: dest,regid
542 REAL(RFREAL),
INTENT(IN) :: tm
545 CHARACTER(CHRLEN),
INTENT(OUT) :: filename
552 'ModBuildFileNames.F90')
558 IF ( dest == filedest_indir )
THEN
559 WRITE(deststring,
'(A)') global%inDir
560 ELSE IF ( dest == filedest_outdir )
THEN
561 WRITE(deststring,
'(A)') global%outDir
563 CALL
errorstop(global,err_filedest_invalid,&
569 WRITE(filename,
'(A,1PE11.5)') trim(deststring)//trim(global%caseName)// &
570 trim(ext)//
'_'//trim(regidstring)//
'_',tm
620 INTEGER,
INTENT(IN) :: regid
623 CHARACTER(CHRLEN),
INTENT(OUT) :: regidstring
630 'ModBuildFileNames.F90')
636 WRITE(regidstring,
'(I5.5)') regid
subroutine buildfilenamebasic(global, dest, ext, id, fileName)
subroutine registerfunction(global, funName, fileName)
subroutine, public buildfilenameplainsteady(global, dest, ext, it, fileName)
subroutine buildfilenameplain(global, dest, ext, fileName)
subroutine, public buildregionidstring(global, regId, regIdString)
subroutine, public buildfilenameplainunsteady(global, dest, ext, tm, fileName)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)
subroutine buildfilenamesteady(global, dest, ext, id, it, fileName)
subroutine buildfilenameunsteady(global, dest, ext, id, tm, fileName)