31template<
class TrackingData>
34 const smoothData& svf,
40 if (!
valid(td) || (value_ < VSMALL))
43 value_ = svf.value()/scale;
48 else if (svf.value() > (1 + tol)*scale*value_)
51 value_ = svf.value()/scale;
81template<
class TrackingData>
84 return value_ > -SMALL;
88template<
class TrackingData>
101template<
class TrackingData>
113template<
class TrackingData>
123template<
class TrackingData>
135template<
class TrackingData>
147 return update(svf, td.maxRatio, tol, td);
151template<
class TrackingData>
163 return update(svf, 1.0, tol, td);
168template<
class TrackingData>
179 return update(svf, 1.0, tol, td);
183template<
class TrackingData>
201 return value_ == rhs.value_;
210 return !(*
this == rhs);
bool valid() const
True if all internal ids are non-negative.
friend Ostream & operator(Ostream &, const faMatrix< Type > &)
virtual bool update()
Update the mesh for both mesh motion and topology change.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Helper class used by the fvc::smooth and fvc::spread functions.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const smoothData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const smoothData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool sameGeometry(const polyMesh &, const smoothData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool equal(const smoothData &, TrackingData &td) const
Test for equality, with TrackingData.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
smoothData()
Default construct.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)