55 TYPE(t_region
),
POINTER :: regions(:)
58 CHARACTER(2*CHRLEN+9) :: fname
59 CHARACTER(256) ::
line
67 global => regions(1)%global
70 'RFLO_ReadTbcInputFile.F90' )
74 WRITE(fname,
'(A)') trim(global%inDir)//trim(global%casename)//
'.bc'
75 OPEN(if_input,file=fname,
form=
'formatted',
status=
'old',iostat=errorflag)
76 global%error = errorflag
77 IF (global%error /= 0) &
79 __line__,
'File: '//trim(fname) )
84 READ(if_input,
'(A256)',err=10,
end=86)
line
85 SELECT CASE(trim(
line))
87 CASE (
'# TBC_PIECEWISE')
90 CASE (
'# TBC_SINUSOIDAL')
93 CASE (
'# TBC_STOCHASTIC')
96 CASE (
'# TBC_WHITENOISE')
106 CLOSE(if_input,iostat=errorflag)
107 global%error = errorflag
108 IF (global%error /= 0) &
110 __line__,
'File: '//trim(fname) )
119 __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 rflo_readtbcsection(regions, tbcType)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)