Go to the documentation of this file.
35 #ifndef distributedUnallocatedDirectFieldMapper_H
36 #define distributedUnallocatedDirectFieldMapper_H
70 hasUnmapped_(directAddressing_.
size() &&
min(directAddressing_) < 0)
80 virtual label
size()
const
85 ? directAddressing_.
size()
90 virtual bool direct()
const
112 return directAddressing_;
virtual const labelUList & directAddressing() const
FieldMapper with direct mapping from remote quantities.
virtual bool direct() const
virtual label size() const
virtual const mapDistributeBase & distributeMap() const
Abstract base class to hold the Field mapping addressing and weights.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
virtual bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
bool notNull(const T *ptr)
True if ptr is not a pointer (of type T) to the nullObject.
distributedUnallocatedDirectFieldMapper(const labelUList &directAddressing, const mapDistributeBase &distMap)
Construct given addressing.
label constructSize() const
Constructed data size.
virtual bool distributed() const
Class containing processor-to-processor mapping information.
void size(const label n) noexcept
Override size to be inconsistent with allocated storage.
virtual ~distributedUnallocatedDirectFieldMapper()=default
Destructor.