56 CHARACTER(CHRLEN) :: ifilename, sectionstring
58 INTEGER :: errorflag, ifile, ntets, npris, npyrs
63 'TFLU_WriteFluCellMap.F90')
67 IF ( global%verbLevel > verbose_none )
THEN
68 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing Rocflu cell-mapping file...'
73 WRITE(ifilename,
'(A,I5.5)') &
74 trim(global%outDir)//trim(global%casename)//
'.cmp_',0
76 OPEN(ifile,file=ifilename,
form=
"FORMATTED",
status=
"UNKNOWN",iostat=errorflag)
77 global%error = errorflag
79 IF ( global%error /= err_none )
THEN
80 CALL
errorstop(global,err_file_open,__line__,ifilename)
85 IF ( global%verbLevel > verbose_low )
THEN
86 WRITE(stdout,
'(A,3X,A)') solver_name,
'Header information...'
89 sectionstring =
'# ROCFLU cell mapping file'
90 WRITE(ifile,
'(A)') trim(sectionstring)
95 sectionstring =
'# Dimensions'
96 WRITE(ifile,
'(A)') trim(sectionstring)
97 WRITE(ifile,
'(4(I8))') ntets,global%tofluNHexs,npris,npyrs
99 sectionstring =
'# Hexahedra'
100 WRITE(ifile,
'(A)') trim(sectionstring)
101 WRITE(ifile,
'(10(I8))') (
j,
j=1,global%tofluNHexs)
105 IF ( global%verbLevel > verbose_low )
THEN
106 WRITE(stdout,
'(A,3X,A)') solver_name,
'End marker...'
109 sectionstring =
'# End'
110 WRITE(ifile,
'(A)') trim(sectionstring)
114 CLOSE(ifile,iostat=errorflag)
115 global%error = errorflag
116 IF ( global%error /= err_none )
THEN
117 CALL
errorstop(global,err_file_close,__line__,ifilename)
120 IF ( global%verbLevel > verbose_none )
THEN
121 WRITE(stdout,
'(A,1X,A)') solver_name,
'Writing Rocflu cell-mapping file done.'
subroutine writeflucellmap(global)
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
**********************************************************************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)