8 #include "ioda/distribution/ReplicaOfNonoverlappingDistribution.h"
10 #include "oops/util/Logger.h"
20 const eckit::mpi::Comm &comm,
21 std::shared_ptr<const Distribution> master)
23 master_(std::move(master)) {
24 oops::Log::trace() <<
"ReplicaOfNonoverlappingDistribution constructed" << std::endl;
29 oops::Log::trace() <<
"ReplicaOfNonoverlappingDistribution destructed" << std::endl;
34 return master_->isMyRecord(RecNum);
Implements some methods of Distribution in a manner suitable for distributions storing each observati...
~ReplicaOfNonoverlappingDistribution() override
ReplicaOfNonoverlappingDistribution(const eckit::mpi::Comm &comm, std::shared_ptr< const Distribution > master)
Constructor.
bool isMyRecord(std::size_t RecNum) const override
Returns true if record RecNum has been assigned to the calling PE during a previous call to assignRec...
std::shared_ptr< const Distribution > master_