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
Return the index of this patch in the pointBoundaryMesh.
virtual bool direct() const
Is the mapping direct.
Template functions to aid in the implementation of demand driven data.
virtual const scalarListList & weights() const
Return interpolaion weights.
Basic pointPatch represents a set of points from the mesh.
virtual const labelUList & directAddressing() const
Return direct addressing.
Foam::pointPatchFieldMapper.
#define forAll(list, i)
Loop across all elements in list.
virtual ~pointPatchMapper()
Destructor.
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
Return interpolated addressing.
errorManip< error > abort(error &err)
virtual label size() const
Return size.
const labelListList & patchPointMap() const
Patch point renumbering.
List< labelList > labelListList
A List of labelList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const std::string patch
OpenFOAM patch number as a std::string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.