40 #ifndef Foam_cellMapper_H 41 #define Foam_cellMapper_H 67 const label mapperLen_;
70 label nInsertedObjects_;
79 mutable std::unique_ptr<labelList> directAddrPtr_;
82 mutable std::unique_ptr<labelListList> interpAddrPtr_;
85 mutable std::unique_ptr<scalarListList> weightsPtr_;
88 mutable std::unique_ptr<labelList> insertedObjectsPtr_;
94 void calcAddressing()
const;
120 virtual label
size()
const;
126 virtual bool direct()
const 149 return bool(nInsertedObjects_);
virtual label sizeBeforeMapping() const
Return size before mapping.
virtual const scalarListList & weights() const
Return interpolaion weights.
void operator=(const cellMapper &)=delete
No copy assignment.
This object provides mapping and fill-in information for cell data between the two meshes after the t...
cellMapper(const cellMapper &)=delete
No copy construct.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Abstract base class to hold the Field mapping for mesh morphs.
virtual bool hasUnmapped() const
Are there unmapped values?
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual label size() const
The mapper size.
virtual const labelList & insertedObjectLabels() const
Return list of inserted cells.
virtual ~cellMapper()
Destructor.
virtual bool insertedObjects() const
Are there any inserted cells.
virtual bool direct() const
Is the mapping direct.