Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation. More...
Public Member Functions | |
pointEdgePoint () | |
Default construct. Max point. More... | |
pointEdgePoint (const point &origin, const scalar distSqr) | |
Construct from origin, distance. More... | |
const point & | origin () const noexcept |
point & | origin () noexcept |
scalar | distSqr () const noexcept |
scalar & | distSqr () noexcept |
bool | operator== (const pointEdgePoint &) const |
Test for equality. More... | |
bool | operator!= (const pointEdgePoint &) const |
Test for inequality. More... | |
template<class TrackingData > | |
bool | valid (TrackingData &td) const |
Changed or contains original (invalid) value. More... | |
template<class TrackingData > | |
bool | sameGeometry (const pointEdgePoint &, const scalar tol, TrackingData &td) const |
Check for identical geometrical data (eg, 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 pointEdgePoint &edgeInfo, const scalar tol, TrackingData &td) |
Influence of edge on point. More... | |
template<class TrackingData > | |
bool | updatePoint (const polyMesh &mesh, const label pointi, const pointEdgePoint &newPointInfo, const scalar tol, TrackingData &td) |
Influence of different value on same point. More... | |
template<class TrackingData > | |
bool | updatePoint (const pointEdgePoint &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 pointEdgePoint &pointInfo, const scalar tol, TrackingData &td) |
Influence of point on edge. More... | |
template<class TrackingData > | |
bool | equal (const pointEdgePoint &, TrackingData &td) const |
Test for equality, with TrackingData. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const pointEdgePoint &) |
Istream & | operator>> (Istream &, pointEdgePoint &) |
Holds information regarding nearest wall point. Used in PointEdgeWave. (so not standard FaceCellWave) To be used in wall distance calculation.
Definition at line 61 of file pointEdgePoint.H.
|
inline |
Default construct. Max point.
Definition at line 116 of file pointEdgePointI.H.
|
inline |
Construct from origin, distance.
Definition at line 124 of file pointEdgePointI.H.
|
inlinenoexcept |
Definition at line 126 of file pointEdgePoint.H.
|
inlinenoexcept |
Definition at line 128 of file pointEdgePoint.H.
|
inlinenoexcept |
Definition at line 130 of file pointEdgePoint.H.
|
inlinenoexcept |
Definition at line 132 of file pointEdgePoint.H.
|
inline |
Test for equality.
Definition at line 287 of file pointEdgePointI.H.
|
inline |
Test for inequality.
Definition at line 296 of file pointEdgePointI.H.
|
inline |
Changed or contains original (invalid) value.
Definition at line 137 of file pointEdgePointI.H.
References Foam::max().
|
inline |
Check for identical geometrical data (eg, cyclics checking)
Definition at line 146 of file pointEdgePointI.H.
References Foam::diff(), Foam::mag(), and w2.
|
inline |
Convert origin to relative vector to leaving point.
(= point coordinate)
Definition at line 174 of file pointEdgePointI.H.
|
inline |
Convert relative origin to absolute by adding entering point.
Definition at line 200 of file pointEdgePointI.H.
|
inline |
Apply rotation matrix to origin.
Definition at line 187 of file pointEdgePointI.H.
References Foam::transform().
|
inline |
Influence of edge on point.
Definition at line 215 of file pointEdgePointI.H.
References mesh, polyMesh::points(), td(), and update().
|
inline |
Influence of different value on same point.
Merge new and old info.
Definition at line 231 of file pointEdgePointI.H.
References mesh, polyMesh::points(), td(), and update().
|
inline |
Influence of different value on same point.
No information about current position whatsoever.
Definition at line 246 of file pointEdgePointI.H.
References td(), and update().
|
inline |
Influence of point on edge.
Definition at line 259 of file pointEdgePointI.H.
References Foam::constant::electromagnetic::e, primitiveMesh::edges(), mesh, polyMesh::points(), td(), and update().
|
inline |
Test for equality, with TrackingData.
Definition at line 275 of file pointEdgePointI.H.
References Foam::operator==().
|
friend |
|
friend |