Get the value of a single column at x
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(LT2_t), | intent(in) | :: | my_lt | |||
| integer, | intent(in) | :: | col_ix | |||
| real(kind=dp), | intent(in) | :: | x1 | |||
| real(kind=dp), | intent(in) | :: | x2 |
elemental function LT2_get_col(my_lt, col_ix, x1, x2) result(col_value) type(LT2_t), intent(in) :: my_lt integer, intent(in) :: col_ix real(dp), intent(in) :: x1, x2 real(dp) :: col_value type(LT2_loc_t) :: loc loc = LT2_get_loc(my_lt, x1, x2) col_value = LT2_get_col_at_loc(my_lt, col_ix, loc) end function LT2_get_col