35 #ifndef pointPatchMapper_H
36 #define pointPatchMapper_H
50 class polyTopoChangeMap;
72 const label sizeBeforeMapping_;
77 mutable bool hasUnmapped_;
92 void calcAddressing()
const;
131 return sizeBeforeMapping_;
135 virtual bool direct()
const
137 return pointMapper_.
direct();
virtual bool direct() const =0
Foam::tmp< Foam::Field< Type > > map(const Field< Type > &mapF) const
Abstract base class to hold the Field mapping for mesh morphs.
This object provides mapping and fill-in information for point data between the two meshes after the ...
Mapping class for a pointPatchField.
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
Are there unmapped values? I.e. do all size() elements get.
virtual const labelUList & directAddressing() const
Return direct addressing.
pointPatchMapper(const pointPatch &patch, const pointMapper &pointMap, const polyTopoChangeMap &map)
Construct from mappers.
virtual ~pointPatchMapper()
Destructor.
void operator=(const pointPatchMapper &)=delete
Disallow default bitwise assignment.
virtual bool direct() const
Is the mapping direct.
Basic pointPatch represents a set of points from the mesh.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Specialisations of Field<T> for scalar, vector and tensor.