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
virtual bool hasUnmapped() const
Any unmapped values?
faPatchMapper(const faPatchMapper &)=delete
No copy construct.
virtual ~faPatchMapper()
Destructor.
virtual label size() const
Return size.
virtual bool direct() const
Is the mapping direct.
virtual label size() const
Patch size is the number of edge labels, but can be overloaded.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
virtual const labelUList & directAddressing() const
Return direct addressing.
Finite area patch class. Used for 2-D non-Euclidian finite area method.
const std::string patch
OpenFOAM patch number as a std::string.
Mapping class for a faPatchField. Edge mapping is calculated based on faceCells comparison of old and...
void operator=(const faPatchMapper &)=delete
No copy assignment.
A FieldMapper for finite-area patch fields.
virtual const scalarListList & weights() const
Return interpolation weights.
virtual label sizeBeforeMapping() const
Return size of field before mapping.
virtual const labelListList & addressing() const
Return interpolated addressing.