| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_backend_t) | :: | self | ||||
| real(kind=dp), | intent(out) | :: | max_val | |||
| real(kind=dp), | intent(out) | :: | sum_val | |||
| class(field_t), | intent(in) | :: | f | |||
| integer, | intent(in) | :: | i_slice | |||
| integer, | intent(in), | optional | :: | enforced_data_loc |
Reduces a single slice of f at index i_slice along f's DIR axis. Returns signed max (not abs) and signed sum. No division by count. Caller is responsible for MPI_Allreduce across ranks.