38 #ifndef Foam_pointPatchMapper_H 39 #define Foam_pointPatchMapper_H 75 const label sizeBeforeMapping_;
80 mutable bool hasUnmapped_;
83 mutable std::unique_ptr<labelList> directAddrPtr_;
86 mutable std::unique_ptr<labelListList> interpAddrPtr_;
89 mutable std::unique_ptr<scalarListList> weightsPtr_;
102 void calcAddressing()
const;
127 virtual label
size()
const 129 return patch_.
size();
140 return sizeBeforeMapping_;
144 virtual bool direct()
const 146 return pointMapper_.
direct();
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual bool direct() const
Is the mapping direct.
virtual const scalarListList & weights() const
Return interpolaion weights.
Foam::pointPatchFieldMapper.
virtual bool direct() const =0
Is it a direct (non-interpolating) mapper?
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mapping class for a pointPatchField.
virtual bool hasUnmapped() const
Any unmapped values?
Abstract base class to hold the Field mapping for mesh morphs.
virtual label size() const
Return size.
Specialisations of Field<T> for scalar, vector and tensor.
virtual ~pointPatchMapper()
Destructor.
Basic pointPatch represents a set of points from the mesh.
virtual label sizeBeforeMapping() const
Return size of field before mapping.
const std::string patch
OpenFOAM patch number as a std::string.
This object provides mapping and fill-in information for point data between the two meshes after the ...
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual label size() const =0
Return size.