Get the values of all columns at a location
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(LT_t), | intent(in) | :: | my_lt | |||
| type(LT_loc_t), | intent(in) | :: | loc |
pure function LT_get_mcol_at_loc(my_lt, loc) result(col_values) type(LT_t), intent(in) :: my_lt type(LT_loc_t), intent(in) :: loc real(dp) :: col_values(my_lt%n_cols) col_values = loc%low_frac * my_lt%cols_rows(:,& loc%low_ix) + (1-loc%low_frac) * my_lt%cols_rows(:, loc%low_ix+1) end function LT_get_mcol_at_loc