Go to the documentation of this file.
8 #ifndef UFO_UTILS_PARALLELOBSDISTRIBUTION_H_
9 #define UFO_UTILS_PARALLELOBSDISTRIBUTION_H_
14 #include "ioda/ObsSpace.h"
59 const std::string &variable,
60 const std::string &group);
64 #endif // UFO_UTILS_PARALLELOBSDISTRIBUTION_H_
ParallelObsDistribution(const ioda::ObsSpace &obsspace)
Construct an object describing the distribution of observations in obsspace across MPI processes.
Describes how observations in an ObsSpace are distributed across MPI processes.
size_t globalObsCount() const
Return the total number of observations held by all MPI processes.
std::vector< T > getGlobalVariableValues(const ioda::ObsSpace &obsspace, const ParallelObsDistribution &obsDistribution, const std::string &variable, const std::string &group)
std::vector< int > localObsIdDisplacements_
const std::vector< int > & localObsCounts() const
Return a vector whose ith element is the number of observations held by the MPI process with rank i.
const std::vector< int > & localObsIdDisplacements() const
Return a vector whose ith element is the total number of observations held by the MPI processes with ...
std::vector< int > localObsCounts_