Go to the documentation of this file.
33 template<
class TrackingData>
37 const wallPointData<Type>&
w2,
42 const scalar dist2 =
magSqr(pt -
w2.origin());
46 const scalar
diff = distSqr() - dist2;
54 if ((
diff < SMALL) || ((distSqr() > SMALL) && (
diff/distSqr() < tol)))
65 origin() =
w2.origin();
100 template<
class TrackingData>
104 const label thisCelli,
115 cellCentres[thisCelli],
125 template<
class TrackingData>
129 const label thisFacei,
140 faceCentres[thisFacei],
150 template<
class TrackingData>
154 const label thisFacei,
164 faceCentres[thisFacei],
Holds information regarding nearest wall point. Used in wall distance calculation.
Mesh consisting of general polyhedral cells.
bool updateFace(const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
scalar diff(const triad &A, const triad &B)
Generic templated field type.
bool updateCell(const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
Holds information (coordinate and normal) regarding nearest wall point.
vector point
Point is a vector.
Database for solution data, solver performance and other reduced data.