32 #ifndef directFieldMapper_H 33 #define directFieldMapper_H 59 directAddressing_(directAddressing),
62 if (directAddressing_.
size() &&
min(directAddressing_) < 0)
77 return directAddressing_.
size();
92 return directAddressing_;
directFieldMapper(const labelUList &directAddressing)
Construct given addressing.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
FieldMapper with direct mapping.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
const labelUList & directAddressing() const
Abstract base class to hold the Field mapping addressing and weights.
virtual ~directFieldMapper()
Destructor.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
label size() const
Return the number of elements in the UList.