Go to the documentation of this file.
31 template<
class TrackingData>
32 inline bool Foam::LESModels::smoothDelta::deltaData::update
34 const smoothDelta::deltaData&
w2,
40 if (!
valid(td) || (delta_ < VSMALL))
43 delta_ =
w2.delta()/scale;
48 else if (
w2.delta() > (1 + tol)*scale*delta_)
51 delta_ =
w2.delta()/scale;
79 template<
class TrackingData>
89 template<
class TrackingData>
102 template<
class TrackingData>
114 template<
class TrackingData>
124 template<
class TrackingData>
136 template<
class TrackingData>
148 return update(neighbourWallInfo, td, tol, td);
152 template<
class TrackingData>
164 return update(neighbourWallInfo, 1.0, tol, td);
168 template<
class TrackingData>
179 return update(neighbourWallInfo, 1.0, tol, td);
183 template<
class TrackingData>
196 inline bool Foam::LESModels::smoothDelta::deltaData::operator==
205 inline bool Foam::LESModels::smoothDelta::deltaData::operator!=
210 return !(*
this == rhs);
bool equal(const deltaData &, TrackingData &td) const
Same (like operator==)
Public member class used by mesh-wave to propagate the delta-ratio.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
Mesh consisting of general polyhedral cells.
deltaData()
Construct null.
bool sameGeometry(const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
Check for identical geometrical data.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to.
A patch is a list of labels that address the faces in the global face list.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.