73 TYPE(t_region
),
POINTER :: pregion
79 CHARACTER(CHRLEN) :: ifilename,rcsidentstring
80 CHARACTER(256) ::
line
81 INTEGER :: errorflag,ipatch,loopcounter
82 TYPE(t_patch),
POINTER :: ppatch
90 rcsidentstring =
'$RCSfile: SPEC_RFLU_ReadBcInputFile.F90,v $ $Revision: 1.7 $'
92 global => pregion%global
95 'SPEC_RFLU_ReadBcInputFile.F90')
103 OPEN(if_input,file=ifilename,
form=
'FORMATTED',
status=
'OLD',iostat=errorflag)
104 global%error = errorflag
105 IF (global%error /= 0)
THEN
106 CALL
errorstop(global,err_file_open,__line__,
'File: '//trim(ifilename))
116 READ(if_input,
'(A256)',iostat=errorflag)
line
118 IF ( errorflag > 0 )
THEN
119 CALL
errorstop(global,err_file_read,__line__,
'File: '//trim(ifilename))
120 ELSE IF ( errorflag < 0 )
THEN
124 SELECT CASE( trim(
line) )
133 CASE (
'# BC_INFLOW_TOTANG')
135 CASE (
'# BC_INFLOW_VELTEMP')
137 CASE (
'# BC_OUTFLOW')
147 loopcounter = loopcounter + 1
148 IF ( loopcounter >= limit_infinite_loop )
THEN
149 CALL
errorstop(global,err_infinite_loop ,__line__)
157 CLOSE(if_input,iostat=errorflag)
158 global%error = errorflag
159 IF (global%error /= 0)
THEN
160 CALL
errorstop(global,err_file_close,__line__,
'File: '//trim(ifilename))
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 spec_rflu_readbcfarfsection(pRegion)
subroutine buildfilenameplain(global, dest, ext, fileName)
**********************************************************************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 spec_rflu_readbcinflowsection(pRegion)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine spec_rflu_readbcinjectsection(pRegion)
subroutine deregisterfunction(global)
subroutine spec_rflu_readbcsectiondummy(pRegion)