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 const labelListList & addressing() const
Return interpolated addressing.
virtual const scalarListList & weights() const
Return interpolaion weights.
virtual bool hasUnmapped() const
Any unmapped values?
virtual const labelUList & directAddressing() const
Return direct addressing.
faceMapper(const faceMapper &)=delete
No copy construct.
virtual label size() const
The mapper size.
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
virtual const labelList & oldPatchStarts() const
Return old patch starts.
virtual const labelList & oldPatchSizes() const
Return old patch sizes.
virtual label sizeBeforeMapping() const
Return size of field before mapping.
void operator=(const faceMapper &)=delete
No copy assignment.
virtual label nOldInternalFaces() const
Return number of old internalFaces.
virtual label internalSizeBeforeMapping() const
Return number of internal faces before mapping.
virtual ~faceMapper()
Destructor.
virtual const labelHashSet & flipFaceFlux() const
Return flux flip map.
virtual bool insertedObjects() const
Are there any inserted faces.
virtual bool direct() const
Is the mapping direct.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
morphFieldMapper()=default
Default construct.
List< scalarList > scalarListList
List of scalarList.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
UList< label > labelUList
A UList of labels.