40 #ifndef Foam_faceMapper_H 41 #define Foam_faceMapper_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;
121 virtual label
size()
const;
130 virtual bool direct()
const 164 return bool(nInsertedObjects_);
virtual label internalSizeBeforeMapping() const
Return number of internal faces before mapping.
This object provides mapping and fill-in information for face data between the two meshes after the t...
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual label sizeBeforeMapping() const
Return size of field before mapping.
faceMapper(const faceMapper &)=delete
No copy construct.
Abstract base class to hold the Field mapping for mesh morphs.
virtual bool insertedObjects() const
Are there any inserted faces.
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual const labelHashSet & flipFaceFlux() const
Return flux flip map.
virtual const scalarListList & weights() const
Return interpolaion weights.
virtual bool direct() const
Is the mapping direct.
virtual ~faceMapper()
Destructor.
virtual label size() const
The mapper size.
void operator=(const faceMapper &)=delete
No copy assignment.
virtual const labelList & oldPatchStarts() const
Return old patch starts.
virtual label nOldInternalFaces() const
Return number of old internalFaces.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual const labelList & oldPatchSizes() const
Return old patch sizes.
virtual bool hasUnmapped() const
Any unmapped values?