34 void Foam::pointPatchMapper::calcAddressing()
const 39 || interpolationAddrPtr_
44 <<
"Addressing already calculated" 101 void Foam::pointPatchMapper::clearOut()
106 hasUnmapped_ =
false;
112 Foam::pointPatchMapper::pointPatchMapper
121 pointMapper_(pointMap),
130 directAddrPtr_(NULL),
131 interpolationAddrPtr_(NULL),
151 <<
"Requested direct addressing for an interpolative mapper." 160 return *directAddrPtr_;
169 <<
"Requested interpolative addressing for a direct mapper." 173 if (!interpolationAddrPtr_)
178 return *interpolationAddrPtr_;
187 <<
"Requested interpolative weights for a direct mapper."
List< labelList > labelListList
A List of labelList.
virtual const labelUList & directAddressing() const
Return direct addressing.
#define forAll(list, i)
Loop across all elements in list.
virtual label size() const
Return size.
const labelList & oldPatchNMeshPoints() const
Return numbers of mesh points per old patch.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
void size(const label)
Override size to be inconsistent with allocated storage.
virtual const labelListList & addressing() const
Return interpolated addressing.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
pointPatchFieldMapper()
Null constructor.
List< scalarList > scalarListList
List< scalar > scalarList
A List of scalars.
const labelListList & patchPointMap() const
Patch point renumbering.
List< label > labelList
A List of labels.
errorManip< error > abort(error &err)
virtual const scalarListList & weights() const
Return interpolaion weights.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual bool direct() const
Is the mapping direct.
Template functions to aid in the implementation of demand driven data.
virtual ~pointPatchMapper()
Destructor.
Basic pointPatch represents a set of points from the mesh.
virtual label index() const =0
Return the index of this patch in the pointBoundaryMesh.
This object provides mapping and fill-in information for point data between the two meshes after the ...
void deleteDemandDrivenData(DataPtr &dataPtr)