33template<
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();
100template<
class TrackingData>
104 const label thisCelli,
115 cellCentres[thisCelli],
125template<
class TrackingData>
129 const label thisFacei,
140 faceCentres[thisFacei],
150template<
class TrackingData>
154 const label thisFacei,
164 faceCentres[thisFacei],
Database for solution data, solver performance and other reduced data.
virtual bool update()
Update the mesh for both mesh motion and topology change.
Mesh consisting of general polyhedral cells.
const vectorField & faceCentres() const
Holds information (coordinate and normal) regarding nearest wall point.
bool updateCell(const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
wallPointData()
Default construct.
bool updateFace(const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Holds information regarding nearest wall point. Used in wall distance calculation.
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)