Go to the documentation of this file.
30 template<
class TrackingData>
34 const point& position,
45 scalar myDist2 =
magSqr(position - origin());
49 if (svf.
value() > value())
90 template<
class TrackingData>
93 return value_ > -SMALL;
97 template<
class TrackingData>
110 template<
class TrackingData>
116 const point& faceCentre,
120 origin_ -= faceCentre;
124 template<
class TrackingData>
136 template<
class TrackingData>
142 const point& faceCentre,
147 origin_ += faceCentre;
151 template<
class TrackingData>
155 const label thisCellI,
166 template<
class TrackingData>
170 const label thisFaceI,
182 template<
class TrackingData>
186 const label thisFaceI,
196 template<
class TrackingData>
209 inline void Foam::sweepData::operator=
218 inline bool Foam::sweepData::operator==
223 return origin() == rhs.
origin();
227 inline bool Foam::sweepData::operator!=
232 return !(*
this == rhs);
scalar value() const
Return value.
Templated 3D tensor derived from VectorSpace adding construction from 9 components,...
sweepData()
Construct null.
Helper class used by fvc::sweep function.
bool updateFace(const polyMesh &, const label thisFaceI, const label neighbourCellI, const sweepData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring cell.
void enterDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Reverse of leaveDomain.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
bool valid(TrackingData &td) const
Check whether origin has been changed at all or.
Mesh consisting of general polyhedral cells.
dimensionSet transform(const dimensionSet &)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A patch is a list of labels that address the faces in the global face list.
bool equal(const sweepData &, TrackingData &td) const
Same (like operator==)
const point & origin() const
Return origin.
void leaveDomain(const polyMesh &, const polyPatch &, const label patchFaceI, const point &faceCentre, TrackingData &td)
Convert any absolute coordinates into relative to.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const vectorField & cellCentres() const
const vectorField & faceCentres() const
bool updateCell(const polyMesh &, const label thisCellI, const label neighbourFaceI, const sweepData &svf, const scalar tol, TrackingData &td)
Influence of neighbouring face.
bool sameGeometry(const polyMesh &, const sweepData &, const scalar, TrackingData &td) const
Check for identical geometrical data.
void transform(const polyMesh &, const tensor &, TrackingData &td)
Apply rotation matrix to any coordinates.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
bool update(const sweepData &svf, const point &position, const scalar tol, TrackingData &td)
Update - gets information from neighbouring face/cell and.