Go to the documentation of this file.
31 template<
class TrackingData>
32 inline 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;
81 template<
class TrackingData>
84 return value_ > -SMALL;
88 template<
class TrackingData>
101 template<
class TrackingData>
113 template<
class TrackingData>
123 template<
class TrackingData>
135 template<
class TrackingData>
147 return update(svf, td.maxRatio, tol, td);
151 template<
class TrackingData>
168 template<
class TrackingData>
179 return update(svf, 1.0, tol, td);
183 template<
class TrackingData>
196 inline bool Foam::smoothData::operator==
201 return value_ == rhs.value_;
205 inline bool Foam::smoothData::operator!=
210 return !(*
this == rhs);
A templated (3 x 3) tensor of objects of <T> derived from MatrixSpace.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const smoothData &svf, const scalar tol, TrackingData &td)
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Mesh consisting of general polyhedral cells.
Helper class used by the fvc::smooth and fvc::spread functions.
bool valid(TrackingData &td) const
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A patch is a list of labels that address the faces in the global face list.
bool equal(const smoothData &, TrackingData &td) const
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const smoothData &svf, const scalar tol, TrackingData &td)
bool sameGeometry(const polyMesh &, const smoothData &, const scalar, TrackingData &td) const
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
void transform(const polyMesh &, const tensor &, TrackingData &td)