34 template<
class TrackingData>
35 inline bool Foam::transportData::update
38 const transportData&
w2,
43 const scalar dist2 =
magSqr(pt -
w2.origin());
101 template<
class TrackingData>
112 if (td.surfaceIndex_[faceI] != -1)
131 template<
class TrackingData>
135 const label thisFaceI,
136 const label neighbourCellI,
142 if (td.surfaceIndex_[thisFaceI] != -1)
157 template<
class TrackingData>
161 const label thisFaceI,
167 if (td.surfaceIndex_[thisFaceI] != -1)
scalar diff(const triad &A, const triad &B)
Return a quantity of the difference between two triads.
transportData()
Construct null.
bool updateCell(const polyMesh &mesh, const label thisCellI, const label neighbourFaceI, const transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
bool updateFace(const polyMesh &mesh, const label thisFaceI, const label neighbourCellI, const transportData &neighbourWallInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
const scalar & data() const
const point & origin() const
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const vectorField & faceCentres() const
Holds information (coordinate and normal) regarding nearest wall point.
vector point
Point is a vector.
Holds information (coordinate and distance). Walks out 0.5*distance.
Field< vector > vectorField
Specialisation of Field<T> for vector.
Mesh consisting of general polyhedral cells.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)