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==
201 return delta_ == rhs.delta_;
205 inline bool Foam::LESModels::smoothDelta::deltaData::operator!=
210 return !(*
this == rhs);
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
bool equal(const deltaData &, TrackingData &td) const
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Mesh consisting of general polyhedral cells.
bool sameGeometry(const polyMesh &, const deltaData &, const scalar, TrackingData &td) const
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
A patch is a list of labels that address the faces in the global face list.
void transform(const polyMesh &, const tensor &, TrackingData &td)
bool valid(TrackingData &td) const
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)