The variables a row of segment iseg depends on: the epoch and state of its start node.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | iseg | |||
| integer, | intent(in), | dimension(:) | :: | full2red | ||
| type(eclipse_row), | intent(inout) | :: | row |
subroutine row_columns(iseg, full2red, row) integer,intent(in) :: iseg integer,dimension(:),intent(in) :: full2red type(eclipse_row),intent(inout) :: row integer :: irev, l, js, ks, k, fc irev = (iseg-1)/8 l = iseg - 8*irev js = 4*irev + start_node(l) ks = 4*irev + tf_node(l) row%tf_with_t0 = ks == js row%ncol = 0 do k = 1, 7 fc = 7*(js-1) + k if (full2red(fc) > 0) then row%ncol = row%ncol + 1 row%col(row%ncol) = full2red(fc) row%kind(row%ncol) = k - 1 end if end do end subroutine row_columns