42#ifndef Foam_faPatchMapper_H
43#define Foam_faPatchMapper_H
75 const label sizeBeforeMapping_;
83 mutable bool hasUnmapped_;
86 mutable std::unique_ptr<labelList> directAddrPtr_;
92 void calcAddressing()
const;
119 virtual label
size()
const
121 return patch_.size();
127 return sizeBeforeMapping_;
131 virtual bool direct()
const
faPatchFieldMapper()=default
Default construct.
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.
faPatchMapper(const faPatchMapper &)=delete
No copy construct.
virtual bool hasUnmapped() const
Any unmapped values?
virtual const labelUList & directAddressing() const
Return direct addressing.
void operator=(const faPatchMapper &)=delete
No copy assignment.
virtual ~faPatchMapper()
Destructor.
virtual bool direct() const
Is the mapping direct.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.