35 #ifndef pointPatchMapper_H
36 #define pointPatchMapper_H
49 class polyTopoChangeMap;
71 const label sizeBeforeMapping_;
89 void calcAddressing()
const;
123 return sizeBeforeMapping_;
127 virtual bool direct()
const
129 return pointMapper_.
direct();
General field mapper supporting both direct and weighted mapping.
virtual bool direct() const =0
Is the mapper direct?
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 const labelListList & addressing() const
Return interpolated addressing.
virtual const scalarListList & weights() const
Return interpolation weights.
label sizeBeforeMapping() const
Return size of field before mapping.
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.