31template<
class TrackingData>
32inline bool Foam::smoothData::update
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>
151template<
class TrackingData>
168template<
class TrackingData>
183template<
class TrackingData>
194template<
class TrackingData>
235inline bool Foam::smoothData::operator==
240 return value_ ==
rhs.value_;
244inline bool Foam::smoothData::operator!=
249 return !(*
this ==
rhs);
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 transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool interpolate(const polyMesh &, const point &pt, const label i0, const smoothData &f0, const label i1, const smoothData &f1, const scalar weight, const scalar tol, TrackingData &td)
Interpolate between two values (lerp). Returns true if causes changes. Not sure if needs to be specia...
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).
scalar value() const
Return value.
smoothData(const smoothData &)=default
Copy construct.
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)
Convert any absolute coordinates into relative to (patch)face centre.
smoothData & operator=(const smoothData &)=default
Copy assignment.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
vector point
Point is a vector.
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)