Go to the documentation of this file.
34 template<
class TrackingData>
43 scalar dist2 =
magSqr(pt - w2.origin());
47 scalar
diff = distSqr() - dist2;
55 if ((
diff < SMALL) || ((distSqr() > SMALL) && (
diff/distSqr() < tol)))
68 if (
yPlus < yPlusCutOff)
72 origin() = w2.origin();
112 template<
class TrackingData>
116 const label thisCellI,
117 const label neighbourFaceI,
127 cellCentres[thisCellI],
136 template<
class TrackingData>
140 const label thisFaceI,
141 const label neighbourCellI,
151 faceCentres[thisFaceI],
160 template<
class TrackingData>
164 const label thisFaceI,
174 faceCentres[thisFaceI],
bool update(const point &, const wallPointYPlus &w2, const scalar tol, TrackingData &td)
Evaluate distance to point. Update distSqr, origin from whomever.
wallPointYPlus()
Construct null.
const Type & data() const
Mesh consisting of general polyhedral cells.
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
bool updateFace(const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Holds information (coordinate and yStar) regarding nearest wall point.
dimensionedScalar sqrt(const dimensionedScalar &ds)
const vectorField & faceCentres() const
This function object evaluates and outputs turbulence y+ for turbulence models. The field is stored o...
Holds information (coordinate and normal) regarding nearest wall point.
bool updateCell(const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
Database for solution data, solver performance and other reduced data.
dimensioned< scalar > magSqr(const dimensioned< Type > &)