36void Foam::pointPatchMapper::calcAddressing()
const
41 || interpolationAddrPtr_
46 <<
"Addressing already calculated"
104void Foam::pointPatchMapper::clearOut()
109 hasUnmapped_ =
false;
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."
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const labelListList & patchPointMap() const
Patch point renumbering.
This object provides mapping and fill-in information for point data between the two meshes after the ...
Foam::pointPatchFieldMapper.
Mapping class for a pointPatchField.
virtual label size() const
Return size.
virtual const labelListList & addressing() const
Return interpolated addressing.
virtual const scalarListList & weights() const
Return interpolaion weights.
virtual const labelUList & directAddressing() const
Return direct addressing.
virtual ~pointPatchMapper()
Destructor.
virtual bool direct() const
Is the mapping direct.
Basic pointPatch represents a set of points from the mesh.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
Template functions to aid in the implementation of demand driven data.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< label > labelList
A List of labels.
List< scalar > scalarList
A List of scalars.
List< labelList > labelListList
A List of labelList.
errorManip< error > abort(error &err)
List< scalarList > scalarListList
A List of scalarList.
void deleteDemandDrivenData(DataPtr &dataPtr)
#define forAll(list, i)
Loop across all elements in list.