Go to the documentation of this file.
50 Ostream&
operator<<(Ostream&,
const sweepData&);
70 template<
class TrackingData>
74 const point& position,
126 template<
class TrackingData>
127 inline bool valid(TrackingData& td)
const;
130 template<
class TrackingData>
141 template<
class TrackingData>
146 const label patchFacei,
147 const point& faceCentre,
152 template<
class TrackingData>
157 const label patchFacei,
158 const point& faceCentre,
163 template<
class TrackingData>
172 template<
class TrackingData>
176 const label thisCelli,
177 const label neighbourFacei,
184 template<
class TrackingData>
188 const label thisFacei,
189 const label neighbourCelli,
196 template<
class TrackingData>
200 const label thisFacei,
207 template<
class TrackingData>
230 return os << rhs.value_ << rhs.origin_;
235 return is >> rhs.value_ >> rhs.origin_;
scalar value() const
Return value.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to.
sweepData()
Default construct.
Helper class used by fvc::sweep function.
friend Istream & operator>>(Istream &is, sweepData &rhs)
void enterDomain(const polyMesh &, const polyPatch &, const label patchFacei, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
bool valid(TrackingData &td) const
Changed or contains original (invalid) value.
Istream & operator>>(Istream &, directionInfo &)
Mesh consisting of general polyhedral cells.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A patch is a list of labels that address the faces in the global face list.
bool operator!=(const sweepData &) const
Test for inequality.
bool equal(const sweepData &, TrackingData &td) const
Test for equality, with TrackingData.
OBJstream os(runTime.globalPath()/outputName)
sweepData & operator=(const sweepData &)=default
Copy assignment.
const point & origin() const
Return origin.
friend Ostream & operator<<(Ostream &os, const sweepData &rhs)
bool updateFace(const polyMesh &, const label thisFacei, const label neighbourCelli, const sweepData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
scalar & value()
The value.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool sameGeometry(const polyMesh &, const sweepData &, const scalar, TrackingData &td) const
Check for identical geometrical data (eg, cyclics checking)
bool operator==(const sweepData &) const
Test for equality.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
bool updateCell(const polyMesh &, const label thisCelli, const label neighbourFacei, const sweepData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring face.
A template class to specify that a data type can be considered as being contiguous in memory.
void operator=(const scalar value)
Assign new value.