Go to the documentation of this file.
32 template<
class TrackingData>
41 scalar dist2 =
magSqr(pt - w2.origin());
45 scalar
diff = distSqr() - dist2;
53 if ((
diff < SMALL) || ((distSqr() > SMALL) && (
diff/distSqr() < tol)))
64 origin() = w2.origin();
67 if (distSqr() >
sqr(0.25*
data()))
99 template<
class TrackingData>
110 if (td.surfaceIndex_[faceI] != -1)
117 bool updated = update
129 template<
class TrackingData>
133 const label thisFaceI,
134 const label neighbourCellI,
140 if (td.surfaceIndex_[thisFaceI] != -1)
155 template<
class TrackingData>
159 const label thisFaceI,
165 if (td.surfaceIndex_[thisFaceI] != -1)
Holds information (coordinate and distance). Walks out 0.5*distance.
bool updateCell(const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool updateFace(const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
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.
transportData()
Construct null.
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 update(const point &, const transportData &w2, const scalar tol, TrackingData &td)
Evaluate distance to point. Update distSqr, origin from whomever.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const vectorField & faceCentres() const
Holds information (coordinate and normal) regarding nearest wall point.
Database for solution data, solver performance and other reduced data.
dimensioned< scalar > magSqr(const dimensioned< Type > &)