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 Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
void size(const label n)
Older name for setAddressableSize.
virtual ~faAreaMapper()
Destructor.
const labelList & newFaceLabels() const
Return new face labels.
bool empty() const noexcept
True if List is empty (ie, size() is zero)
const labelList & newFaceLabelsMap() const
Return new face labels map.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual const labelList & insertedObjectLabels() const
Return list of inserted faces.
faAreaMapper(const faAreaMapper &)=delete
No copy construct.
Abstract base class to hold the Field mapping for mesh morphs.
virtual label size() const
Return size.
virtual bool hasUnmapped() const
Any unmapped values?
virtual label sizeBeforeMapping() const
Return size of field before mapping.
virtual bool direct() const
Is the mapping direct.
void operator=(const faAreaMapper &)=delete
No copy assignment.
virtual const scalarListList & weights() const
Return interpolation weights.
virtual bool insertedObjects() const
Are there any inserted faces.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual const labelListList & addressing() const
Return interpolated addressing.