40 #ifndef Foam_pointMapper_H 41 #define Foam_pointMapper_H 68 const label mapperLen_;
71 label nInsertedObjects_;
80 mutable std::unique_ptr<labelList> directAddrPtr_;
83 mutable std::unique_ptr<labelListList> interpAddrPtr_;
86 mutable std::unique_ptr<scalarListList> weightsPtr_;
89 mutable std::unique_ptr<labelList> insertedObjectsPtr_;
95 void calcAddressing()
const;
122 virtual label
size()
const;
128 virtual bool direct()
const 151 return bool(nInsertedObjects_);
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual bool hasUnmapped() const
Are there unmapped values? i.e. do all size() elements get value.
virtual label sizeBeforeMapping() const
Return size before mapping.
const labelList & insertedObjectLabels() const
Return list of inserted points.
virtual ~pointMapper()
Destructor.
void operator=(const pointMapper &)=delete
No copy assignment.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh representing a set of points created from polyMesh.
virtual const scalarListList & weights() const
Return interpolation weights.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual label size() const
The mapper size.
Abstract base class to hold the Field mapping for mesh morphs.
virtual bool direct() const
Is the mapping direct.
bool insertedObjects() const noexcept
Are there any inserted points.
pointMapper(const pointMapper &)=delete
No copy construct.
This object provides mapping and fill-in information for point data between the two meshes after the ...