30 template<
class TrackingData>
31 inline bool Foam::LESModels::smoothDelta::deltaData::update
33 const smoothDelta::deltaData& w2,
39 if (!
valid(td) || (delta_ < vSmall))
42 delta_ = w2.delta()/scale;
47 else if (w2.delta() > (1 + tol)*scale*delta_)
50 delta_ = w2.delta()/scale;
82 template<
class TrackingData>
88 return delta_ > -small;
92 template<
class TrackingData>
105 template<
class TrackingData>
109 const label patchFacei,
116 template<
class TrackingData>
128 return update(neighbourWallInfo, td, tol, td);
132 template<
class TrackingData>
144 return update(neighbourWallInfo, 1.0, tol, td);
148 template<
class TrackingData>
159 return update(neighbourWallInfo, 1.0, tol, td);
163 template<
class TrackingData>
176 inline bool Foam::LESModels::smoothDelta::deltaData::operator==
181 return delta_ == rhs.
delta();
185 inline bool Foam::LESModels::smoothDelta::deltaData::operator!=
190 return !(*
this == rhs);
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
bool updateCell(const fvMesh &, const label thisCelli, const labelPair &neighbourPatchAndFacei, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring face.
An ordered pair of two objects of type <T> with first() and second() elements.
bool operator==(const deltaData &) const
deltaData()
Construct null.
bool equal(const deltaData &, TrackingData &td) const
Same (like operator==)
Mesh data needed to do the Finite Volume discretisation.
bool sameGeometry(const fvMesh &, const deltaData &, const scalar, TrackingData &td) const
Check for identical geometrical data.
bool updateFace(const fvMesh &, const labelPair &thisPatchAndFacei, const label neighbourCelli, const deltaData &neighbourInfo, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void transform(const fvPatch &patch, const label patchFacei, const transformer &transform, TrackingData &td)
Transform across an interface.
Public member class used by mesh-wave to propagate the delta-ratio.