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