57 CHARACTER(2*CHRLEN+17) :: mapfname, solfname
59 INTEGER :: errflg, testflg
64 'PREP_RocstarWriteRocinout.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'
93 WRITE(solfname,1000)
'fluid_%5b.cgns'
94 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
96 IF (global%error /= 0) &
97 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
99 WRITE(if_regmap,1000)
'@Proc: *'
100 WRITE(if_regmap,1010)
'@Files: '//trim(solfname)
101 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
106 WRITE(mapfname,1000)
'../Rocin/ifluid_in_00.000000.txt'
108 WRITE(solfname,1000)
'ifluid_%5b.cgns'
109 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
110 global%error = errflg
111 IF (global%error /= 0) &
112 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
114 WRITE(if_regmap,1000)
'@Proc: *'
115 WRITE(if_regmap,1010)
'@Files: '//trim(solfname)
116 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
121 WRITE(mapfname,1000)
'../Rocin/fluid_plag_in_00.000000.txt'
122 WRITE(solfname,1000)
'fluid_plag_%5b.hdf'
123 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
124 global%error = errflg
125 IF (global%error /= 0) &
126 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
128 WRITE(if_regmap,1000)
'@Proc: *'
129 WRITE(if_regmap,1010)
'@Files:'
130 WRITE(if_regmap,1000)
'@Panes: @Block ',global%nRegions,
' 100 100'
135 WRITE(mapfname,1000)
'../RocfloNotes.txt'
136 OPEN(if_regmap,file=mapfname,
form=
'formatted',
status=
'unknown',iostat=errflg)
137 global%error = errflg
138 IF (global%error /= 0) &
139 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(mapfname) )
141 WRITE(if_regmap,1000)
'Dataset generated using Rfloprep pre version 2.3.0.0'
142 WRITE(if_regmap,1000)
'must be run with Rocstar compiled with'
143 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)