63 TYPE(t_region
),
POINTER :: regions(:)
69 CHARACTER(2*CHRLEN+4) :: fname
70 CHARACTER(256) ::
line
75 global => regions(1)%global
77 'RADI_ReadInputFile.F90' )
81 fname = trim(global%inDir)//trim(global%casename)//
'.inp'
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))
107 CLOSE(if_input,iostat=errorflag)
108 global%error = errorflag
109 IF (global%error /= 0) &
110 CALL
errorstop( global,err_file_close,__line__,
'File: '//trim(fname) )
117 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 radi_readradisection(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)