53 startPatchIDs_(startPatchIDs),
83 startPatchIDs_(startPatchIDs),
84 startZoneIDs_(startZoneIDs),
85 endPatchIDs_(endPatchIDs),
86 endZoneIDs_(endZoneIDs),
105 label nKnownPoints = 0;
109 nKnownPoints += pbm[iter.key()].meshPoints().
size();
114 nKnownPoints +=
mesh()().pointZones()[iter.key()].
size();
119 nKnownPoints += pbm[iter.key()].meshPoints().
size();
124 nKnownPoints +=
mesh()().pointZones()[iter.key()].
size();
142 const label meshPointi =
mp[ppi];
143 knownPoints[nKnownPoints] = meshPointi;
146 pointEdgeData.
points[meshPointi],
156 const label zonei = iter.key();
161 const label meshPointi = zonePoints[j];
162 knownPoints[nKnownPoints] = meshPointi;
165 pointEdgeData.
points[meshPointi],
180 const label meshPointi =
mp[ppi];
181 knownPoints[nKnownPoints] = meshPointi;
184 pointEdgeData.
points[meshPointi],
194 const label zonei = iter.key();
199 const label meshPointi = zonePoints[j];
200 knownPoints[nKnownPoints] = meshPointi;
203 pointEdgeData.
points[meshPointi],
228 mesh().globalData().nTotalPoints(),
234 forAll(allPointInfo, pointi)
236 if (allPointInfo[pointi].set(pointEdgeData))
238 psf[pointi] =
sqrt(allPointInfo[pointi].distSqr());
242 psf[pointi] = maxDist_;
248 const label zonei = iter.key();
253 const label meshPointi = zonePoints[j];
#define forAll(list, i)
Loop across all elements in list.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
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...
label size() const
Return the number of elements in the UPtrList.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
label size() const
Return fvMesh size.
pointDist(const pointMesh &pMesh, const labelHashSet &startPatchIDs, const pointField &points, const scalar maxDist=rootVGreat)
Construct from mesh and set of start patches.
void correct()
Correct for mesh geom/topo changes.
virtual ~pointDist()
Destructor.
Class used to pass data into container.
const pointField & points
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave)...
Mesh representing a set of points created from polyMesh.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar mp
Proton mass.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet & dimLength
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)