46 pMesh.db().time().
name(),
53 patchIndices_(patchIDs),
74 pMesh.db().time().
name(),
81 patchIndices_(patchIDs),
82 zoneIndices_(zoneIDs),
101 label nPatchPoints = 0;
106 nPatchPoints += pbm[
patchi].meshPoints().
size();
111 const label zonei = iter.key();
112 nPatchPoints += mesh()().pointZones()[zonei].size();
130 const label meshPointi =
mp[ppi];
131 patchPoints[nPatchPoints] = meshPointi;
134 pointEdgeData.
points[meshPointi],
144 const label zonei = iter.key();
145 const labelList& zonePoints = mesh()().pointZones()[zonei];
149 const label meshPointi = zonePoints[j];
150 patchPoints[nPatchPoints] = meshPointi;
153 pointEdgeData.
points[meshPointi],
178 mesh().globalData().nTotalPoints(),
184 forAll(allPointInfo, pointi)
186 if (allPointInfo[pointi].
valid(pointEdgeData))
188 psf[pointi] =
sqrt(allPointInfo[pointi].distSqr());
192 psf[pointi] = maxDist_;
198 const label zonei = iter.key();
199 const labelList& zonePoints = mesh()().pointZones()[zonei];
203 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.
pointDist(const pointMesh &pMesh, const labelHashSet &patchIDs, const pointField &points, const scalar maxDist=rootVGreat)
Construct from mesh and set of patches and points.
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.
bool valid(const PtrList< ModelType > &l)
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.
word name(const bool)
Return a word representation of a bool.
const dimensionSet dimLength
dimensionedScalar sqrt(const dimensionedScalar &ds)