Computes this rank's sums of ga, gb and g*c separately for each
label in a single pass over DIR_X fields. label holds integer values
stored as reals; points labelled l in 1..size(sums, 2) add to
sums(:, l) and all other points are skipped. No MPI reduction is done,
so the caller can reduce all labels together in one MPI call.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_backend_t) | :: | self | ||||
| real(kind=dp), | intent(out) | :: | sums(:,:) | |||
| class(field_t), | intent(in) | :: | g | |||
| class(field_t), | intent(in) | :: | label | |||
| class(field_t), | intent(in) | :: | a | |||
| class(field_t), | intent(in) | :: | b | |||
| class(field_t), | intent(in) | :: | c |