35 #ifndef Foam_distributedFieldMapper_H 36 #define Foam_distributedFieldMapper_H 58 template<
class DirectFieldMapperType>
61 public DirectFieldMapperType
86 DirectFieldMapperType(directAddr),
99 virtual label
size()
const 103 DirectFieldMapperType::hasDirectAddressing()
104 ? DirectFieldMapperType::size()
label constructSize() const noexcept
Constructed data size.
virtual const mapDistributeBase & distributeMap() const
Return the distribution map.
virtual bool distributed() const
It is a distributed mapper.
virtual ~DistributedFieldMapper()=default
Destructor.
DistributedFieldMapper(const labelUList &directAddr, const mapDistributeBase &distMap)
Construct with addressing and distribute map.
Class containing processor-to-processor mapping information.
DirectFieldMapperType mapper_type
The base direct mapper type.
A templated field mapper with direct mapping from local or remote quantities.
DistributedFieldMapper< directFieldMapper > distributedFieldMapper
A directFieldMapper with distributed (with local or remote) quantities.
virtual label size() const
The mapper size is given by the direct addressing size (if valid) or from the distributeMap construct...