103 class(RectangularGeometryType) :: this
104 character(len=LINELENGTH) :: errmsg
105 character(len=*),
intent(inout) :: line
107 integer(I4B) :: lloc, istart, istop, ival
112 call urword(line, lloc, istart, istop, 2, ival, rval, 0, 0)
116 call urword(line, lloc, istart, istop, 1, ival, rval, 0, 0)
117 select case (line(istart:istop))
119 call urword(line, lloc, istart, istop, 1, ival, rval, 0, 0)
120 this%name = line(istart:istop)
122 call urword(line, lloc, istart, istop, 3, ival, rval, 0, 0)
125 call urword(line, lloc, istart, istop, 3, ival, rval, 0, 0)
128 write (errmsg,
'(a,a)') &
129 'Unknown rectangular geometry attribute: ', line(istart:istop)
integer(i4b), parameter linelength
maximum length of a standard line
This module contains simulation methods.
subroutine, public store_error(msg, terminate)
Store an error message.
integer(i4b) function, public count_errors()
Return number of errors.