41#ifndef Foam_faAreaMapper_H
42#define Foam_faAreaMapper_H
69 const label sizeBeforeMapping_;
77 mutable bool hasUnmapped_;
80 mutable std::unique_ptr<labelList> newFaceLabelsPtr_;
83 mutable std::unique_ptr<labelList> newFaceLabelsMapPtr_;
87 mutable std::unique_ptr<labelList> directAddrPtr_;
90 mutable std::unique_ptr<labelListList> interpAddrPtr_;
93 mutable std::unique_ptr<scalarListList> weightsPtr_;
96 mutable std::unique_ptr<labelList> insertedObjectsPtr_;
102 void calcAddressing()
const;
141 virtual label
size()
const
149 return sizeBeforeMapping_;
153 virtual bool direct()
const
bool empty() const noexcept
True if List is empty (ie, size() is zero).
void size(const label n)
Older name for setAddressableSize.
virtual label size() const
Return size.
virtual label sizeBeforeMapping() const
Return size of field before mapping.
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual const scalarListList & weights() const
Return interpolation weights.
virtual bool hasUnmapped() const
Any unmapped values?
faAreaMapper(const faAreaMapper &)=delete
No copy construct.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
const labelList & newFaceLabelsMap() const
Return new face labels map.
virtual bool insertedObjects() const
Are there any inserted faces.
virtual ~faAreaMapper()
Destructor.
const labelList & newFaceLabels() const
Return new face labels.
void operator=(const faAreaMapper &)=delete
No copy assignment.
virtual bool direct() const
Is the mapping direct.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
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.
UList< label > labelUList
A UList of labels.