Go to the documentation of this file.
36 void Foam::pointPatchMapper::calcAddressing()
const
41 || interpolationAddrPtr_
46 <<
"Addressing already calculated"
104 void Foam::pointPatchMapper::clearOut()
109 hasUnmapped_ =
false;
115 Foam::pointPatchMapper::pointPatchMapper
124 pointMapper_(pointMap),
128 patch_.index() < mpm_.oldPatchNMeshPoints().size()
129 ? mpm_.oldPatchNMeshPoints()[patch_.index()]
133 directAddrPtr_(nullptr),
134 interpolationAddrPtr_(nullptr),
154 <<
"Requested direct addressing for an interpolative mapper."
163 return *directAddrPtr_;
172 <<
"Requested interpolative addressing for a direct mapper."
176 if (!interpolationAddrPtr_)
181 return *interpolationAddrPtr_;
190 <<
"Requested interpolative weights for a direct mapper."
List< label > labelList
A List of labels.
List< scalarList > scalarListList
A List of scalarList.
List< scalar > scalarList
A List of scalars.
virtual label index() const =0
virtual bool direct() const
Template functions to aid in the implementation of demand driven data.
virtual const scalarListList & weights() const
Basic pointPatch represents a set of points from the mesh.
virtual const labelUList & directAddressing() const
Foam::pointPatchFieldMapper.
virtual ~pointPatchMapper()
void deleteDemandDrivenData(DataPtr &dataPtr)
This object provides mapping and fill-in information for point data between the two meshes after the ...
virtual const labelListList & addressing() const
errorManip< error > abort(error &err)
virtual label size() const
const labelListList & patchPointMap() const
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.