37template<
class TrackingData>
41 const directionalWallPointData<Type>&
w2,
53 vector d(pt - this->origin());
56 scalar currentDistSqr(
magSqr(d));
58 scalar
diff = currentDistSqr - dist2;
69 || ((currentDistSqr > SMALL) && (
diff/currentDistSqr < tol))
80 this->distSqr() =
magSqr(pt -
w2.origin());
81 this->origin() =
w2.origin();
82 this->data() =
w2.data();
116template<
class TrackingData>
120 const label thisCelli,
131 cellCentres[thisCelli],
141template<
class TrackingData>
145 const label thisFacei,
156 faceCentres[thisFacei],
166template<
class TrackingData>
170 const label thisFacei,
180 faceCentres[thisFacei],
Database for solution data, solver performance and other reduced data.
Holds information (coordinate and normal) regarding the nearest wall point.
directionalWallPointData()
Construct null.
bool updateFace(const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const directionalWallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool updateCell(const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const directionalWallPointData< Type > &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
virtual bool update()
Update the mesh for both mesh motion and topology change.
Mesh consisting of general polyhedral cells.
const vectorField & faceCentres() const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Holds information (coordinate and normal) regarding nearest wall point.
vector point
Point is a vector.
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)