Go to the documentation of this file.
32 template<
class TrackingData>
33 inline bool Foam::wallPointYPlus::update
36 const wallPointYPlus&
w2,
41 const scalar dist2 =
magSqr(pt -
w2.origin());
45 const scalar
diff = distSqr() - dist2;
53 if ((
diff < SMALL) || ((distSqr() > SMALL) && (
diff/distSqr() < tol)))
70 origin() =
w2.origin();
87 wallPointData<scalar>()
108 template<
class TrackingData>
112 const label thisCelli,
113 const label neighbourFacei,
123 cellCentres[thisCelli],
132 template<
class TrackingData>
136 const label thisFacei,
137 const label neighbourCelli,
147 faceCentres[thisFacei],
156 template<
class TrackingData>
160 const label thisFacei,
170 faceCentres[thisFacei],
bool updateCell(const polyMesh &mesh, const label thisCelli, const label neighbourFacei, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td)
static scalar yPlusCutOff
Mesh consisting of general polyhedral cells.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
scalar diff(const triad &A, const triad &B)
Generic templated field type.
const Type & data() const
Holds information (coordinate and yStar) regarding nearest wall point.
bool updateFace(const polyMesh &mesh, const label thisFacei, const label neighbourCelli, const wallPointYPlus &neighbourWallInfo, const scalar tol, TrackingData &td)
dimensionedScalar sqrt(const dimensionedScalar &ds)
const vectorField & faceCentres() const
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.