57 CHARACTER(2*CHRLEN+17) :: mapfname, solfname
59 INTEGER :: errflg, testflg
64 'PREP_GenxWriteRocinout.F90' )
71 testflg = com_call_system(
"cd ../Rocout")
72 INQUIRE (file=trim(
'../Rocout'), exist=direxist)
73 IF ((.NOT. direxist) .AND. (testflg /= 0))
THEN
74 errflg = com_call_system(
"mkdir ../Rocout")
76 IF (global%error /= 0) &
77 CALL
errorstop( global,err_system_command,__line__,
'mkdir ../Rocout' )
81 testflg = com_call_system(
"cd ../Rocin")
82 INQUIRE (file=trim(
'../Rocin'), exist=direxist)
83 IF ((.NOT. direxist) .AND. (testflg /= 0))
THEN
84 errflg = com_call_system(
"mkdir ../Rocin")
86 IF (global%error /= 0) &
87 CALL
errorstop( global,err_system_command,__line__,
'mkdir ../Rocin' )
90 WRITE(mapfname,1000)
'../Rocin/fluid_in_00.000000.txt'
92 WRITE(solfname,1000)
'fluid_%5b.cgns'
93 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
95 IF (global%error /= 0) &
96 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
98 WRITE(if_regmap,1000)
'@Proc: *'
99 WRITE(if_regmap,1010)
'@Files: '//trim(solfname)
100 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
105 WRITE(mapfname,1000)
'../Rocin/ifluid_in_00.000000.txt'
107 WRITE(solfname,1000)
'ifluid_%5b.cgns'
108 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
109 global%error = errflg
110 IF (global%error /= 0) &
111 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
113 WRITE(if_regmap,1000)
'@Proc: *'
114 WRITE(if_regmap,1010)
'@Files: '//trim(solfname)
115 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
120 WRITE(mapfname,1000)
'../Rocin/fluid_plag_in_00.000000.txt'
121 WRITE(solfname,1000)
'fluid_plag_%5b.hdf'
122 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
123 global%error = errflg
124 IF (global%error /= 0) &
125 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
127 WRITE(if_regmap,1000)
'@Proc: *'
128 WRITE(if_regmap,1010)
'@Files:'
129 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
134 WRITE(mapfname,1000)
'../RocfloNotes.txt'
135 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
136 global%error = errflg
137 IF (global%error /= 0) &
138 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
140 WRITE(if_regmap,1000)
'Dataset generated using Rfloprep pre version 2.3.0.0'
141 WRITE(if_regmap,1000)
'must be run with Rocstar compiled with'
142 WRITE(if_regmap,1000)
'PRE_RFLOPREP_V2300=1 flag'
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine genxwriterocinout(global)
**********************************************************************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)