55 TYPE(t_region
),
POINTER :: regions(:)
58 CHARACTER(CHRLEN) :: rcsidentstring
61 CHARACTER(2*CHRLEN+4) :: fname
62 CHARACTER(256) ::
line
67 rcsidentstring =
'$RCSfile: PERI_ReadInputFile.F90,v $'
69 global => regions(1)%global
71 'PERI_ReadInputFile.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) &
79 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(fname) )
84 READ(if_input,
'(A256)',err=10,
end=86)
line
86 SELECT CASE(trim(
line))
87 CASE (
'# PERIODICFLOW')
96 CLOSE(if_input,iostat=errorflag)
97 global%error = errorflag
98 IF (global%error /= 0) &
99 CALL
errorstop( global,err_file_close,__line__,
'File: '//trim(fname) )
106 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.
subroutine peri_readperisection(regions)
**********************************************************************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)