37template<
class TrackingData>
38inline bool directionalWallPointData<Type>::update
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],
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.
Mesh consisting of general polyhedral cells.
Holds information (coordinate and normal) regarding nearest wall point.
wallPointData()
Default construct.
const Type & data() const
const point & origin() const
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
Field< vector > vectorField
Specialisation of Field<T> for vector.
vector point
Point is a vector.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)