56 CHARACTER(2*CHRLEN+4) :: fname
57 CHARACTER(10) :: keys(1)
58 CHARACTER(256) ::
line
64 REAL(RFREAL) :: vals(1)
69 'RFLO_ReadRegionMapSection.F90' )
75 fname = trim(global%inDir)//trim(global%casename)//
'.inp'
76 OPEN(if_input,file=fname,
form=
'formatted',
status=
'old',iostat=errorflag)
77 global%error = errorflag
78 IF (global%error /= 0) CALL
errorstop( global,err_file_open,__line__,fname )
81 READ(if_input,
'(A256)',err=10,
end=86)
line
82 IF (trim(
line) ==
'# BLOCKMAP')
THEN
83 CALL
readsection( global,if_input,1,keys,vals,defined )
84 IF (defined(1).eqv. .true.) global%nRegionsProc = nint(vals(1))
93 CLOSE(if_input,iostat=errorflag)
94 global%error = errorflag
95 IF (global%error /= 0) CALL
errorstop( global,err_file_close,__line__,fname )
103 CALL
errorstop( global,err_file_read,__line__,fname )
CImg< T > & line(const unsigned int y0)
Get a line.
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
subroutine rflo_readregionmapsection(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 readsection(global, fileID, nvals, keys, vals, defined)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)