211 type(ObserveType),
intent(inout) :: obsrv
212 class(DisBaseType),
intent(in) :: dis
213 integer(I4B),
intent(in) :: inunitobs
214 integer(I4B),
intent(in) :: iout
216 integer(I4B) :: nn1, nn2
217 integer(I4B) :: icol, istart, istop, jaidx
218 character(len=LINELENGTH) :: ermsg, string
220 70
format(
'Error: No connection exists between cells identified in text: ', a)
223 string = obsrv%IDstring
228 nn1 = dis%noder_from_string(icol, istart, istop, inunitobs, &
229 iout, string, .false.)
232 obsrv%NodeNumber = nn1
234 ermsg =
'Error reading data from ID string: '//string(istart:istop)
235 call store_error(ermsg)
240 nn2 = dis%noder_from_string(icol, istart, istop, inunitobs, &
241 iout, string, .false.)
243 obsrv%NodeNumber2 = nn2
245 ermsg =
'Error reading data from ID string: '//string(istart:istop)
246 call store_error(ermsg)
250 jaidx = dis%con%getjaindex(nn1, nn2)
252 write (ermsg, 70) trim(string)
253 call store_error(ermsg)
255 obsrv%JaIndex = jaidx
257 if (count_errors() > 0)
then
258 call store_error_unit(inunitobs)