Drag law tau = drag_coeffu_c|u_h| from each column's own sampled velocity, written into one stress plane (component 1: x, 3: z).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout), | device, dimension(:, :, :) | :: | stress | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | u | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | w | ||
| real(kind=dp), | intent(in), | value | :: | drag_coeff | ||
| integer, | intent(in), | value | :: | sample_i | ||
| integer, | intent(in), | value | :: | stress_i | ||
| integer, | intent(in), | value | :: | sample_offset | ||
| integer, | intent(in), | value | :: | stress_offset | ||
| integer, | intent(in), | value | :: | nx | ||
| integer, | intent(in), | value | :: | component |