36Foam::pointPatchDist::pointPatchDist
70 for (
const label patchi : patchIDs_)
75 externalPointEdgePoint::trackingData
td(points_);
78 List<externalPointEdgePoint> wallInfo(
nPoints);
82 for (
const label patchi : patchIDs_)
90 label meshPointi = mp[ppI];
91 wallPoints[
nPoints] = meshPointi;
92 wallInfo[
nPoints] = externalPointEdgePoint
94 td.points_[meshPointi],
102 List<externalPointEdgePoint> allPointInfo(
mesh()().
nPoints());
105 List<externalPointEdgePoint> allEdgeInfo(
mesh()().nEdges());
109 externalPointEdgePoint,
110 externalPointEdgePoint::trackingData
119 mesh().globalData().nTotalPoints(),
126 forAll(allPointInfo, pointi)
128 if (allPointInfo[pointi].valid(
td))
130 psf[pointi] =
Foam::sqrt(allPointInfo[pointi].distSqr());
const polyBoundaryMesh & pbm
const Mesh & mesh() const noexcept
Return const reference to mesh.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const Time & time() const noexcept
Return Time associated with the objectRegistry.
const objectRegistry & db() const noexcept
Return the local objectRegistry.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Wave propagation of information through grid. Every iteration information goes through one layer of e...
Class used to pass data into container.
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
A pointBoundaryMesh is a pointPatch list with registered IO, a reference to the associated pointMesh,...
Mesh representing a set of points created from polyMesh.
void correct()
Correct for mesh geom/topo changes.
For use with FaceCellWave. Determines topological distance to starting faces.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
GeometricField< scalar, pointPatchField, pointMesh > pointScalarField
List< label > labelList
A List of labels.
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
dimensionedScalar sqrt(const dimensionedScalar &ds)
vectorField pointField
pointField is a vectorField.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define forAll(list, i)
Loop across all elements in list.