28 template<
class TrackingData>
29 inline bool Foam::LESModels::smoothDelta::deltaData::update
31 const smoothDelta::deltaData& w2,
37 if (!
valid(td) || (delta_ < VSMALL))
40 delta_ = w2.delta()/scale;
45 else if (w2.delta() > (1 + tol)*scale*delta_)
48 delta_ = w2.delta()/scale;
78 template<
class TrackingData>
84 return delta_ > -SMALL;
88 template<
class TrackingData>
101 template<
class TrackingData>
113 template<
class TrackingData>
123 template<
class TrackingData>
135 template<
class TrackingData>
147 return update(neighbourWallInfo, td, tol, td);
151 template<
class TrackingData>
163 return update(neighbourWallInfo, 1.0, tol, td);
167 template<
class TrackingData>
178 return update(neighbourWallInfo, 1.0, tol, td);
182 template<
class TrackingData>
195 inline bool Foam::LESModels::smoothDelta::deltaData::operator==
200 return delta_ == rhs.
delta();
204 inline bool Foam::LESModels::smoothDelta::deltaData::operator!=
209 return !(*
this == rhs);
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool sameGeometry(const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
Check for identical geometrical data.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to.
bool operator==(const deltaData &) const
deltaData()
Construct null.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool equal(const deltaData &, TrackingData &td) const
Same (like operator==)
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Public member class used by mesh-wave to propagate the delta-ratio.