Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation. More...
Classes | |
class | trackingData |
Class used to pass data into container. More... | |
Public Member Functions | |
externalPointEdgePoint () | |
Construct null. More... | |
externalPointEdgePoint (const point &, const scalar) | |
Construct from origin, distance. More... | |
externalPointEdgePoint (const externalPointEdgePoint &) | |
Construct as copy. More... | |
const point & | origin () const |
scalar | distSqr () const |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Check whether origin has been changed at all or. More... | |
template<class TrackingData > | |
bool | sameGeometry (const externalPointEdgePoint &, const scalar tol, TrackingData &td) const |
Check for identical geometrical data. Used for cyclics checking. More... | |
template<class TrackingData > | |
void | leaveDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert origin to relative vector to leaving point. More... | |
template<class TrackingData > | |
void | enterDomain (const polyPatch &patch, const label patchPointi, const point &pos, TrackingData &td) |
Convert relative origin to absolute by adding entering point. More... | |
template<class TrackingData > | |
void | transform (const tensor &rotTensor, TrackingData &td) |
Apply rotation matrix to origin. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const label edgeI, const externalPointEdgePoint &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const externalPointEdgePoint &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const externalPointEdgePoint &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updateEdge (const polyMesh &mesh, const label edgeI, const label pointi, const externalPointEdgePoint &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const externalPointEdgePoint &, TrackingData &td) const |
Equivalent to operator== with TrackingData. More... | |
bool | operator== (const externalPointEdgePoint &) const |
bool | operator!= (const externalPointEdgePoint &) const |
Friends | |
Ostream & | operator<< (Ostream &, const externalPointEdgePoint &) |
Istream & | operator>> (Istream &, externalPointEdgePoint &) |
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation.
Definition at line 64 of file externalPointEdgePoint.H.
|
inline |
Construct null.
Definition at line 118 of file externalPointEdgePointI.H.
Referenced by externalPointEdgePoint::externalPointEdgePoint(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Construct from origin, distance.
Definition at line 126 of file externalPointEdgePointI.H.
References externalPointEdgePoint::externalPointEdgePoint().
|
inline |
Construct as copy.
Definition at line 137 of file externalPointEdgePointI.H.
|
inline |
Definition at line 148 of file externalPointEdgePointI.H.
Referenced by externalPointEdgePoint::operator==(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Definition at line 154 of file externalPointEdgePointI.H.
Referenced by externalPointEdgePoint::operator==(), externalPointEdgePoint::sameGeometry(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Check whether origin has been changed at all or.
still contains original (invalid) value.
Definition at line 161 of file externalPointEdgePointI.H.
References VectorSpace< Vector< scalar >, scalar, 3 >::max, and externalPointEdgePoint::sameGeometry().
Referenced by externalPointEdgePoint::trackingData::trackingData().
|
inline |
Check for identical geometrical data. Used for cyclics checking.
Definition at line 170 of file externalPointEdgePointI.H.
References externalPointEdgePoint::distSqr(), externalPointEdgePoint::leaveDomain(), and Foam::mag().
Referenced by externalPointEdgePoint::trackingData::trackingData(), and externalPointEdgePoint::valid().
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 198 of file externalPointEdgePointI.H.
References externalPointEdgePoint::transform().
Referenced by externalPointEdgePoint::sameGeometry(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 222 of file externalPointEdgePointI.H.
References externalPointEdgePoint::updatePoint().
Referenced by externalPointEdgePoint::trackingData::trackingData(), and externalPointEdgePoint::transform().
|
inline |
Apply rotation matrix to origin.
Definition at line 211 of file externalPointEdgePointI.H.
References externalPointEdgePoint::enterDomain(), and Foam::transform().
Referenced by externalPointEdgePoint::leaveDomain(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Influence of edge on point.
Definition at line 236 of file externalPointEdgePointI.H.
Referenced by externalPointEdgePoint::enterDomain(), externalPointEdgePoint::trackingData::trackingData(), and externalPointEdgePoint::updatePoint().
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 251 of file externalPointEdgePointI.H.
References externalPointEdgePoint::updatePoint().
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 265 of file externalPointEdgePointI.H.
References externalPointEdgePoint::updateEdge().
|
inline |
Influence of point on edge.
Definition at line 277 of file externalPointEdgePointI.H.
References edge::centre(), Foam::e, primitiveMesh::edges(), and externalPointEdgePoint::equal().
Referenced by externalPointEdgePoint::trackingData::trackingData(), and externalPointEdgePoint::updatePoint().
|
inline |
Equivalent to operator== with TrackingData.
Definition at line 293 of file externalPointEdgePointI.H.
References externalPointEdgePoint::operator==().
Referenced by externalPointEdgePoint::trackingData::trackingData(), and externalPointEdgePoint::updateEdge().
|
inline |
Definition at line 305 of file externalPointEdgePointI.H.
References externalPointEdgePoint::distSqr(), and externalPointEdgePoint::origin().
Referenced by externalPointEdgePoint::equal(), and externalPointEdgePoint::trackingData::trackingData().
|
inline |
Definition at line 315 of file externalPointEdgePointI.H.
Referenced by externalPointEdgePoint::trackingData::trackingData().
|
friend |
Referenced by externalPointEdgePoint::trackingData::trackingData().
|
friend |
Referenced by externalPointEdgePoint::trackingData::trackingData().