50 Ostream&
operator<<(Ostream&,
const smoothData&);
68 template<
class TrackingData>
128 template<
class TrackingData>
129 inline bool valid(TrackingData& td)
const;
132 template<
class TrackingData>
143 template<
class TrackingData>
148 const label patchFacei,
149 const point& faceCentre,
154 template<
class TrackingData>
159 const label patchFacei,
160 const point& faceCentre,
165 template<
class TrackingData>
174 template<
class TrackingData>
178 const label thisCelli,
179 const label neighbourFacei,
186 template<
class TrackingData>
190 const label thisFacei,
191 const label neighbourCelli,
198 template<
class TrackingData>
202 const label thisFacei,
209 template<
class TrackingData>
232 return os << rhs.value_;
237 return is >> rhs.value_;
245 template<>
struct is_contiguous<smoothData> : std::true_type {};
Class used to pass additional data in.
bool equal(const smoothData &, TrackingData &td) const
Test for equality, with TrackingData.
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const smoothData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
bool sameGeometry(const polyMesh &, const smoothData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool operator==(const smoothData &) const
Test for equality.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
smoothData()
Default construct.
friend Ostream & operator<<(Ostream &os, const smoothData &rhs)
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
Helper class used by the fvc::smooth and fvc::spread functions.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to (patch)face centre.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
Istream & operator>>(Istream &, directionInfo &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
OBJstream os(runTime.globalPath()/outputName)
bool operator!=(const smoothData &) const
Test for inequality.
smoothData & operator=(const smoothData &)=default
Copy assignment.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
scalar maxRatio
Cut off distance.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.
Tensor of scalars, i.e. Tensor<scalar>.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const smoothData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring face.
friend Istream & operator>>(Istream &is, smoothData &rhs)
scalar value() const
Return value.