Perform the global reduction
After the local reductions have been performed (in _append), the results must be communicated between processes.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_reduction_spatial_type), | intent(inout) | :: | me(:) | The reduction type to work on. All definitions should be present in here |
||
type(tem_comm_env_type), | intent(in) | :: | proc | communicator for processes participating in this reduction |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | i | ||||
integer, | private | :: | nComp | ||||
integer, | private | :: | ierr | ||||
integer, | private | :: | globalnElems | ||||
real(kind=rk), | private, | allocatable | :: | buff(:) | |||
real(kind=rk), | private | :: | Vglob |