59 TYPE(t_region
),
POINTER :: regions(:)
62 CHARACTER(CHRLEN) :: rcsidentstring
63 CHARACTER(2*CHRLEN+9) :: fname
64 CHARACTER(256) ::
line
72 rcsidentstring =
'$RCSfile: PEUL_ReadBcInputFile.F90,v $ $Revision: 1.3 $'
74 global => regions(1)%global
77 'PEUL_ReadBcInputFile.F90' )
81 WRITE(fname,
'(A)') trim(global%inDir)//trim(global%casename)//
'.bc'
82 OPEN(if_input,file=fname,
form=
'formatted',
status=
'old',iostat=errorflag)
83 global%error = errorflag
84 IF (global%error /= 0) &
85 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(fname) )
90 READ(if_input,
'(A256)',err=10,
end=86)
line
92 SELECT CASE(trim(
line))
94 CASE (
'# BC_PEUL_INFLOW')
97 CASE (
'# BC_PEUL_FARF')
100 CASE (
'# BC_PEUL_INJECT')
110 CLOSE(if_input,iostat=errorflag)
111 global%error = errorflag
112 IF (global%error /= 0) &
113 CALL
errorstop( global,err_file_close,__line__,
'File: '//trim(fname) )
121 CALL
errorstop( global,err_file_read,__line__,
'File: '//trim(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.
**********************************************************************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 peul_readbcinjectsection(regions)
subroutine peul_readbcfarfsection(regions)
subroutine peul_readbcinflowsection(regions)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)