|
IODA
|
Implementation of the Accumulator interface suitable for the NonoverlappingDistribution. More...
#include <NonoverlappingDistributionAccumulator.h>


Public Member Functions | |
| NonoverlappingDistributionAccumulator (const T &, const eckit::mpi::Comm &comm) | |
| void | addTerm (std::size_t, const T &term) override |
Increment the sum with the contribution term of location loc held on the current PE. More... | |
| T | computeResult () const override |
| Return the sum of contributions associated with locations held on all PEs (each taken into account only once). More... | |
Public Member Functions inherited from ioda::Accumulator< T > | |
| virtual | ~Accumulator () |
Private Attributes | |
| T | localResult_ |
| const eckit::mpi::Comm & | comm_ |
Implementation of the Accumulator interface suitable for the NonoverlappingDistribution.
Definition at line 21 of file NonoverlappingDistributionAccumulator.h.
|
inline |
Definition at line 23 of file NonoverlappingDistributionAccumulator.h.
|
inlineoverridevirtual |
Increment the sum with the contribution term of location loc held on the current PE.
Implements ioda::Accumulator< T >.
Definition at line 27 of file NonoverlappingDistributionAccumulator.h.
|
inlineoverridevirtual |
Return the sum of contributions associated with locations held on all PEs (each taken into account only once).
Implements ioda::Accumulator< T >.
Definition at line 31 of file NonoverlappingDistributionAccumulator.h.
|
private |
Definition at line 39 of file NonoverlappingDistributionAccumulator.h.
|
private |
Definition at line 38 of file NonoverlappingDistributionAccumulator.h.