Weighted sum of the x slice f(:, i_slice, :) of a DIR_X field, w(j) on the points of y index j. One thread per (y, z) point; z is the fast-varying component of the group index.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=dp), | intent(inout), | device | :: | sum_f | ||
| real(kind=dp), | intent(in), | device, dimension(:, :, :) | :: | f | ||
| real(kind=dp), | intent(in), | device, dimension(:) | :: | w | ||
| integer, | intent(in), | value | :: | i_slice | ||
| integer, | intent(in), | value | :: | n_i_pad | ||
| integer, | intent(in), | value | :: | n_j |